fix: soften downstream experiment trigger #50
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: | | |
| set -euo pipefail | |
| REQ_FILE="requirements-lock.txt" | |
| if [ ! -f "$REQ_FILE" ]; then REQ_FILE="requirements.txt"; fi | |
| python -m pip install --upgrade pip | |
| python -m pip install -r "$REQ_FILE" | |
| python -m pip install ruff | |
| - name: Run ruff | |
| run: | | |
| set -euo pipefail | |
| ruff check . | |
| - name: Run unit tests | |
| run: | | |
| set -euo pipefail | |
| python -m unittest discover -s tests -v |