Merge branch 'main' into dev #310
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: Python tests | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
paths: | |
- 'boaviztapi/**' | |
- 'tests/**' | |
- 'poetry.lock' | |
- 'pyproject.toml' | |
- 'requirements.txt' | |
pull_request: | |
paths: | |
- 'boaviztapi/**' | |
- 'tests/**' | |
- 'poetry.lock' | |
- 'pyproject.toml' | |
- 'requirements.txt' | |
branches: | |
- main | |
- dev | |
jobs: | |
test: | |
strategy: | |
matrix: | |
version: ["3.10", "3.11", "3.12"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.version }} | |
- name: Install pipenv | |
run: | | |
python -m pip install --upgrade poetry wheel | |
- name: Install dependencies | |
run: | | |
make install | |
- name: Run test suite | |
run: | | |
make test |