Use remote plugins for build #575
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Test" | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: ["*"] | |
env: | |
GRPC_VERSION: "1.62" | |
BUF_VERSION: "1.30.0" | |
jobs: | |
pytest: | |
name: "Unit and Integration Tests" | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
python-version: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
steps: | |
- uses: "actions/checkout@v4" | |
- uses: "actions/setup-python@v5" | |
with: | |
python-version: "${{ matrix.python-version }}" | |
- name: "Setup Python Environment" | |
run: "pip install -U pip virtualenv" | |
- name: "Install Dependencies" | |
run: | | |
virtualenv ~/.cache/virtualenv/authzedpy | |
source ~/.cache/virtualenv/authzedpy/bin/activate | |
pip install poetry | |
poetry env info | |
poetry install | |
- uses: "authzed/action-spicedb@v1" | |
with: | |
version: "latest" | |
- name: "Pytest" | |
run: | | |
source ~/.cache/virtualenv/authzedpy/bin/activate | |
pytest -vv |