We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 48cbe0c + a8954d4 commit 2bf5f7eCopy full SHA for 2bf5f7e
1 file changed
.github/workflows/tests.yml
@@ -0,0 +1,25 @@
1
+name: Run unittests
2
+
3
+on:
4
+ pull_request:
5
+ branches: [ "main", "master" ]
6
7
+permissions:
8
+ contents: read
9
10
+jobs:
11
+ tests:
12
+ runs-on: ubuntu-20.04
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v3
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v4
18
+ with:
19
+ python-version: 3.9
20
+ - name: Install dependencies
21
+ run: |
22
+ python -m pip install --upgrade pip
23
+ python -m pip install -r requirements.txt
24
+ - name: Run tests
25
+ run: python -m unittest discover -s tests
0 commit comments