Skip to content

Commit

Permalink
add gh action
Browse files Browse the repository at this point in the history
Signed-off-by: pstlouis <[email protected]>
  • Loading branch information
PatStLouis committed Jan 8, 2025
1 parent 2ae81d5 commit 5ee6ec3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pr-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Python tests

on:
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: abatilo/actions-poetry@v4
- name: Install dependencies
run: |
poetry install
- name: Test with pytest
run: |
pytest

0 comments on commit 5ee6ec3

Please sign in to comment.