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 ee2c4d0 commit af5f3d8Copy full SHA for af5f3d8
.github/workflows/pytest.yml
@@ -0,0 +1,35 @@
1
+name: Unit tests
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ workflow_dispatch:
9
10
+jobs:
11
+ build:
12
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - name: Set up Python 3.8
18
+ uses: actions/setup-python@v4
19
+ with:
20
+ python-version: 3.8
21
22
+ - name: Install apt dependencies
23
+ run: |
24
+ sudo apt-get update
25
+ sudo apt-get install -y libdb-dev
26
27
+ - name: Install pip dependencies
28
29
+ python -m pip install --upgrade pip wheel setuptools
30
+ python setup.py install_egg_info
31
+ pip install -e .
32
33
+ - name: Run tests
34
35
+ pytest -vv filetracker/tests
0 commit comments