merge: bring staging up to date with main #12
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 pipeline to run pytest on pull requests | |
| on: | |
| pull_request: | |
| branches: | |
| - staging | |
| jobs: | |
| pytest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository for workflow access | |
| uses: actions/checkout@v4 | |
| - name: set up python environment | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: '3.12' | |
| - name: install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: run tests | |
| run: | | |
| pytest |