Skip to content

Commit 6c8e277

Browse files
Run tests on pull request creations
1 parent c7497df commit 6c8e277

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

.github/workflows/unittests.yaml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,16 @@
11
name: Continuous Integration
2-
3-
on:
4-
push:
5-
branches: [ main, add-auto-tests ]
6-
pull_request:
7-
branches: [ main ]
8-
2+
on: [push, pull_request]
93
jobs:
104
build:
115
runs-on: ubuntu-latest
12-
136
steps:
14-
- uses: actions/checkout@v3
15-
7+
- uses: actions/checkout@v2
168
- name: Set up Python
17-
uses: actions/setup-python@v4
9+
uses: actions/setup-python@v2
1810
with:
19-
python-version: 3.12
11+
python-version: 3.12.0
2012
architecture: x64
21-
2213
- name: Install dependencies
23-
run: |
24-
python -m pip install --upgrade pip
25-
pip install -r requirements.txt
26-
14+
run: pip install -r requirements.txt
2715
- name: Run Tests
2816
run: python -m pytest

0 commit comments

Comments
 (0)