Skip to content

Commit

Permalink
CI: Update and renovate
Browse files Browse the repository at this point in the history
* Remove python 2.7 (no longer support by Github actions)
* Use pypy-2.7 instead
* Use newer python actions: v4 (was: v3)
  • Loading branch information
jenisys committed Sep 7, 2023
1 parent ef633ba commit 1eb2072
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@

name: tests
on:
workflow_dispatch:
push:
branches: [ "main", "release/**" ]
pull_request:
branches: [ main ]
types: [opened, reopened, review_requested]
branches: [ "main" ]

jobs:
test:
Expand All @@ -15,15 +18,14 @@ jobs:
fail-fast: false
matrix:
# PREPARED: os: [ubuntu-latest, macos-latest, windows-latest]
# PREPARED: python-version: ['3.9', '2.7', '3.10', '3.8', 'pypy-2.7', 'pypy-3.8']
os: [ubuntu-latest, windows-latest]
python-version: ['3.9', '2.7', '3.10', '3.8']
python-version: ["3.11", "3.10", "3.9", "pypy-3.10", "pypy-2.7"]
exclude:
- os: windows-latest
python-version: "2.7"
python-version: "pypy-2.7"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand Down

0 comments on commit 1eb2072

Please sign in to comment.