Skip to content

Commit 078ebbd

Browse files
authored
Merge branch 'python:main' into pyperf260
2 parents b12e677 + c4fcdd9 commit 078ebbd

1 file changed

Lines changed: 18 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,46 @@ jobs:
1414

1515
test:
1616
runs-on: ${{ matrix.os }}
17+
permissions:
18+
pull-requests: write
1719
name: ${{ matrix.os }} - ${{ matrix.python }}
1820
strategy:
1921
fail-fast: false
2022
matrix:
2123
# Test all supported versions on Ubuntu:
2224
os: [ubuntu-latest]
23-
python: ["3.7", "3.8", "3.9", "3.10", 3.11-dev, 3.12-dev]
25+
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
26+
experimental: [false]
2427
include:
28+
# As the experimental task for the dev version.
29+
- os: ubuntu-latest
30+
python: "3.12-dev"
31+
experimental: true
2532
# Also test PyPy, macOS, and Windows:
2633
- os: ubuntu-latest
2734
python: pypy-3.9
35+
experimental: false
2836
- os: ubuntu-latest
2937
python: pypy-3.8
38+
experimental: false
3039
- os: ubuntu-latest
3140
python: pypy-3.7
41+
experimental: false
3242
- os: macos-latest
3343
python: "3.10"
44+
experimental: false
3445
- os: windows-latest
3546
python: "3.10"
47+
experimental: false
3648
steps:
37-
- uses: actions/checkout@v2
49+
- uses: actions/checkout@v3
3850
- name: Set up Python ${{ matrix.python }}
39-
uses: actions/setup-python@v2
51+
uses: actions/setup-python@v4
4052
if: "!endsWith(matrix.python, '-dev')"
4153
with:
4254
python-version: ${{ matrix.python }}
4355
- name: Set up Python ${{ matrix.python }} using deadsnakes
44-
uses: deadsnakes/action@v2.1.1
56+
uses: deadsnakes/action@v3.0.0
4557
if: "endsWith(matrix.python, '-dev')"
4658
with:
4759
python-version: ${{ matrix.python }}
@@ -54,4 +66,6 @@ jobs:
5466
- name: Display Python version
5567
run: python -c "import sys; print(sys.version)"
5668
- name: Run Tests
69+
id: pyperformance
5770
run: python -u -m pyperformance.tests
71+
continue-on-error: ${{ matrix.experimental }}

0 commit comments

Comments
 (0)