Skip to content

Commit

Permalink
Merge pull request #40 from klejejs/chore/add-test-workflow-to-prs
Browse files Browse the repository at this point in the history
Add test running workflow on PRs
  • Loading branch information
klejejs authored Nov 27, 2024
2 parents 08aaf32 + fe47a98 commit 98c4fef
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run tests

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

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up Python
uses: actions/[email protected]
with:
python-version: "3.x"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -U -r requirements.txt -r requirements_testing.txt
- name: Run tests
run: pytest

0 comments on commit 98c4fef

Please sign in to comment.