Skip to content

Commit

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

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

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: "3.12"

- name: Install dependencies
run: |
cd /app
python -m pip install --upgrade poetry
poetry install --group dev
- name: Test with pytest
working-directory: ./app
run: poetry run pytest

0 comments on commit 3df7dcb

Please sign in to comment.