Skip to content

Merge pull request #67 from zooniverse/zoobot-upgrade-testing #255

Merge pull request #67 from zooniverse/zoobot-upgrade-testing

Merge pull request #67 from zooniverse/zoobot-upgrade-testing #255

Workflow file for this run

name: Run tests
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.10' ]
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install dependencies
run: |
poetry env use ${{ matrix.python-version }}
poetry install
- name: Run tests
run: poetry run pytest