Merge pull request #49 from bit-bots/pull_request_template #13
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: Run pytest unit tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
unit-tests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, ubuntu-22.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup repository | |
uses: ./.github/actions/setup-repo | |
- name: Run pytest unit tests | |
run: poetry run pytest tests |