test #245
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: tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Installing build dependencies | |
run: ./install_dependencies.sh | |
- name: Installing rednose | |
run: pip3 install --break-system-packages .[dev] | |
- name: Static analysis | |
run: pre-commit run --all | |
- name: Unit Tests | |
run: pytest | |
static_analysis: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Installing build dependencies | |
run: ./install_dependencies.sh | |
- name: Installing rednose | |
run: pip3 install --break-system-packages .[dev] | |
- name: Static analysis | |
run: pre-commit run --all |