We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f568749 commit aea2b1aCopy full SHA for aea2b1a
1 file changed
.github/workflows/pytest.yml
@@ -0,0 +1,32 @@
1
+# This workflow will run pytest in the repository directory
2
+# This runs on pull request or on any push to the repository
3
+# based on https://www.youtube.com/watch?v=uFcXrWT4f80
4
+name: Run tests
5
+
6
+on:
7
+ pull_request:
8
+ branches: ['master']
9
+ push:
10
11
+ workflow_dispatch:
12
13
+jobs:
14
+ tests:
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - name: checkout
19
+ uses: actions/checkout@v5
20
21
+ - name: setup-python
22
+ uses: actions/setup-python@v5
23
+ with:
24
+ python-version: '3.13'
25
+ - run: pip install -r requirements.txt
26
+ - run: pip install pytest
27
28
+ - shell: bash
29
+ env:
30
+ # TEST_SECRET: ${{ secrets.TEST_SECRET }}
31
+ run: |
32
+ pytest
0 commit comments