We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c75a6e1 commit b80d57aCopy full SHA for b80d57a
.github/workflows/test-python-requirements.yml
@@ -0,0 +1,31 @@
1
+name: Test Python requirements
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ paths:
7
+ - 'requirements.txt'
8
+ workflow_dispatch:
9
10
+jobs:
11
+ test:
12
+ name: Test
13
+ runs-on: ubuntu-latest
14
+ if: ${{ github.event.head_commit && !contains(github.event.head_commit.message, '[skip ci]') }}
15
16
+ steps:
17
+ - name: Checkout repository
18
+ uses: actions/checkout@v4
19
+ with:
20
+ fetch-depth: 0
21
22
+ - name: Set up Python versions
23
+ uses: actions/setup-python@v5
24
25
+ python-version: 3.13
26
+ cache: pip
27
28
+ - name: Install dependencies
29
+ run: |
30
+ python -m pip install --upgrade pip
31
+ pip install -r requirements.txt
0 commit comments