Fixes a bug with supplementary imaging selection #46
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
# This is a basic workflow that is manually triggered | |
name: PyTest | |
# Controls when the action will run. Workflow runs when manually triggered using the UI | |
# or API. | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'master' | |
release: | |
types: [published] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Checkout PyThea | |
uses: actions/checkout@master | |
- name: Create a virtual environment | |
run: python3 -m venv env | |
- name: Activate the enviroment | |
run: source env/bin/activate | |
- name: Install requirements | |
run: pip3 install -r requirements.txt | |
- name: pytest | |
run: python -m pytest |