Skip to content

Commit 1eb2072

Browse files
committed
CI: Update and renovate
* Remove python 2.7 (no longer support by Github actions) * Use pypy-2.7 instead * Use newer python actions: v4 (was: v3)
1 parent ef633ba commit 1eb2072

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/test.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33

44
name: tests
55
on:
6+
workflow_dispatch:
67
push:
8+
branches: [ "main", "release/**" ]
79
pull_request:
8-
branches: [ main ]
10+
types: [opened, reopened, review_requested]
11+
branches: [ "main" ]
912

1013
jobs:
1114
test:
@@ -15,15 +18,14 @@ jobs:
1518
fail-fast: false
1619
matrix:
1720
# PREPARED: os: [ubuntu-latest, macos-latest, windows-latest]
18-
# PREPARED: python-version: ['3.9', '2.7', '3.10', '3.8', 'pypy-2.7', 'pypy-3.8']
1921
os: [ubuntu-latest, windows-latest]
20-
python-version: ['3.9', '2.7', '3.10', '3.8']
22+
python-version: ["3.11", "3.10", "3.9", "pypy-3.10", "pypy-2.7"]
2123
exclude:
2224
- os: windows-latest
23-
python-version: "2.7"
25+
python-version: "pypy-2.7"
2426
steps:
2527
- uses: actions/checkout@v3
26-
- uses: actions/setup-python@v3
28+
- uses: actions/setup-python@v4
2729
with:
2830
python-version: ${{ matrix.python-version }}
2931
cache: 'pip'

0 commit comments

Comments
 (0)