Merge pull request #93 from OxfordIonTrapGroup/tph/release #183
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: Test | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install poetry | |
run: python -m pip install poetry==1.3.2 poethepoet==0.24.4 | |
- name: Install dependencies | |
run: poetry install | |
- name: Check formatting | |
run: poe fmt-test | |
- name: Check syntax | |
run: poe lint | |
- name: Run tests | |
run: poe test | |
- name: Check doc build | |
run: poe docs | |
- name: Check type annotations | |
run: poe types |