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 838fd32 commit db3bae3Copy full SHA for db3bae3
.github/workflows/tests.yaml
@@ -0,0 +1,32 @@
1
+name: test
2
+run-name: Run tests
3
+
4
+on:
5
+ push:
6
+ branches: [ master ]
7
+ pull_request:
8
9
10
+jobs:
11
+ pre-commit:
12
+ name: Check pre-commit
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v3
16
+ - uses: actions/setup-python@v4
17
+ - uses: pre-commit/[email protected]
18
19
+ pytest:
20
+ name: Run pytests
21
22
+ needs: [ pre-commit ]
23
24
25
+ - name: Set up Python
26
+ uses: actions/setup-python@v4
27
+ - name: Install pytest
28
+ run: pip install pytest invocations mock pytest-relaxed
29
+ - name: Setup patchwork
30
+ run: pip install -e .
31
+ - name: Test with pytest
32
+ run: pytest
0 commit comments