We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b03bf73 + 9ee32a3 commit ccd7c66Copy full SHA for ccd7c66
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,36 @@
1
+---
2
+name: Tests
3
+
4
+#############################
5
+# Start the job on all push #
6
7
+on:
8
+ push:
9
+ branches-ignore:
10
+ - '**'
11
+ # Remove the line above to run when pushing to master
12
+ pull_request:
13
+ branches: [develop]
14
15
+jobs:
16
+ Tests:
17
+ name: Unit tests
18
+ # Set the agent to run on
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - name: Checkout code
22
+ uses: actions/checkout@v3
23
24
+ - name: Set up Python
25
+ uses: actions/setup-python@v4
26
+ with:
27
+ python-version: "3.10"
28
29
+ - name: Install dependencies
30
+ run: |
31
+ pip install -r requirements.txt
32
33
+ - name: Run unit tests
34
35
+ python -m unittest discover -v tests/unit_tests
36
0 commit comments