This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
Initial commit in this new repository #8
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: | |
branches: | |
- main | |
- dev | |
pull_request: | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install the app | |
run: | | |
python -m pip install .[test] | |
- name: Testing | |
id: test | |
run: | | |
# Ignore the network marks from the remote test environment | |
python -m pytest --color=yes -m "not network" | |