Skip to content

Commit b80d57a

Browse files
authored
Create test-python-requirements.yml
1 parent c75a6e1 commit b80d57a

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
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

Comments
 (0)