Skip to content

Commit

Permalink
Run tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanjbrown committed Mar 1, 2024
1 parent 378ad72 commit 1ad5cc4
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: install python
uses: actions/setup-python@v2
with:
python-version: "3.12"

- name: install poetry & deps
run: |
python -m pip install --upgrade poetry
poetry install --with development
- name: pytest
run: poetry run pytest

0 comments on commit 1ad5cc4

Please sign in to comment.