feat(test): add tests for the api route that returns version. #256
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/**' | |
pull_request: | |
paths: | |
- 'boaviztapi/**' | |
- 'tests/**' | |
branches: | |
- main | |
- dev | |
jobs: | |
test: | |
strategy: | |
matrix: | |
version: ["3.9", "3.10", "3.11"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
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 |