We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed1fb1 commit 18b4a7aCopy full SHA for 18b4a7a
.github/workflows/ci.yml
@@ -0,0 +1,29 @@
1
+name: Run Tests
2
+
3
+on:
4
+ pull_request: # Runs on pull requests
5
+ branches:
6
+ - dev
7
8
+jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v3
15
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v4
18
+ with:
19
+ python-version: '3.x'
20
21
+ - name: Install dependencies
22
+ run: |
23
+ python -m pip install --upgrade pip
24
25
+ - name: Run tests with unittest
26
27
+ python -m unittest discover -s tests -p "test_*.py" -v
28
+ env:
29
+ PYTHONPATH: src # Adds src/ to the module search path
0 commit comments