Skip to content

Commit f25b51d

Browse files
Update python-app.yml
1 parent 8087102 commit f25b51d

File tree

1 file changed

+26
-71
lines changed

1 file changed

+26
-71
lines changed

.github/workflows/python-app.yml

+26-71
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,34 @@
1-
name: Test Specific Python Versions
1+
name: Test Python Versions
22

3-
on:
4-
push:
5-
branches:
6-
- python-freethreaded-test
7-
# workflow_dispatch:
8-
3+
on: [push, pull_request]
94

105
jobs:
11-
test-with-t:
12-
runs-on: ${{ matrix.os }}
6+
test:
7+
runs-on: ubuntu-latest
138
strategy:
14-
fail-fast: false
159
matrix:
16-
os: [ubuntu-latest]
17-
python-version:
18-
- '3.13t'
19-
- '3.13.0t'
20-
- '3.13.1t'
10+
python-version: ['3.13', '3.13t']
2111
steps:
22-
- uses: actions/checkout@v4
23-
- name: Set up Python ${{ matrix.python-version }}
24-
# uses: actions/setup-python@v5
25-
uses: priyagupta108/setup-python@test-pr-973
26-
with:
27-
python-version: ${{ matrix.python-version }}
28-
- name: Install dependencies
29-
run: |
30-
python -m pip install --upgrade pip
31-
pip install -r requirements.txt
32-
33-
test-freethreaded-true:
34-
runs-on: ${{ matrix.os }}
35-
strategy:
36-
fail-fast: false
37-
matrix:
38-
os: [ubuntu-latest]
39-
python-version:
40-
- '3.13'
41-
- '3.13.0'
42-
- '3.13.1'
43-
44-
steps:
45-
- uses: actions/checkout@v4
46-
- name: Set up Python ${{ matrix.python-version }}
47-
# uses: actions/setup-python@v5
48-
uses: priyagupta108/setup-python@test-pr-973
49-
with:
50-
python-version: ${{ matrix.python-version }}
51-
freethreaded: true
52-
- name: Install dependencies
53-
run: |
54-
python -m pip install --upgrade pip
55-
pip install -r requirements.txt
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
5614

15+
# - name: Set up Python ${{ matrix.python-version }}
16+
# # uses: actions/setup-python@v4
17+
# # uses: priya-kinthali/setup-python@freethread-pr-319
18+
# uses: as
19+
# with:
20+
# python-version: ${{ matrix.python-version }}
5721

58-
test-default:
59-
runs-on: ${{ matrix.os }}
60-
strategy:
61-
fail-fast: false
62-
matrix:
63-
os: [ubuntu-latest]
64-
python-version:
65-
- '3.13'
66-
- '3.13.0'
67-
- '3.13.1'
68-
69-
steps:
70-
- uses: actions/checkout@v4
71-
- name: Set up Python ${{ matrix.python-version }}
72-
# uses: actions/setup-python@v5
73-
uses: priyagupta108/setup-python@test-pr-973
74-
with:
75-
python-version: ${{ matrix.python-version }}
76-
- name: Install dependencies
77-
run: |
78-
python -m pip install --upgrade pip
79-
pip install -r requirements.txt
22+
- name: Install uv
23+
uses: astral-sh/setup-uv@v5
24+
25+
26+
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
pip install -r requirements.txt
31+
32+
- name: Run tests
33+
run: |
34+
python test_script.py

0 commit comments

Comments
 (0)