Skip to content

Commit

Permalink
Run tests on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pevtrick committed Sep 12, 2023
1 parent 90fbfe4 commit 104e74e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Python package
on: [push]

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -25,4 +31,4 @@ jobs:
ruff --format=github --target-version=py37 .
- name: Test with pytest
run: |
python -m pytest
python -m pytest

0 comments on commit 104e74e

Please sign in to comment.