Skip to content

Commit

Permalink
feature: workflow test setup for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jurra committed Jul 28, 2023
1 parent b8d9658 commit 560d35e
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: Run Tests

on:
push:
branches: ['*', 'develop']
pull_request:
branches: ['develop', 'main']

jobs:
test:
name: Run Tests
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: [3.7, 3.8, 3.9, 3.10]

- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Run tests
run: poetry run pytest

0 comments on commit 560d35e

Please sign in to comment.