Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: Bernát Gábor <[email protected]>
  • Loading branch information
gaborbernat committed Dec 9, 2023
1 parent 378a455 commit 8c811f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: check
on:
workflow_dispatch:
push:
branches: "main"
tags-ignore: ["**"]
pull_request:
schedule:
Expand All @@ -18,7 +20,7 @@ jobs:
fail-fast: false
matrix:
py:
- "3.12.0-rc.2"
- "3.12"
- "3.11"
- "3.10"
- "3.9"
Expand All @@ -27,15 +29,13 @@ jobs:
steps:
- name: setup python for tox
uses: actions/setup-python@v5
cache: "pip"
with:
python-version: "3.11"
python-version: "3.12"
- name: install tox
run: python -m pip install tox
- uses: actions/checkout@v4
- name: setup python for test ${{ matrix.py }}
uses: actions/setup-python@v5
cache: "pip"
with:
python-version: ${{ matrix.py }}
- name: Pick environment to run
Expand Down Expand Up @@ -63,11 +63,10 @@ jobs:
- readme
steps:
- uses: actions/checkout@v4
- name: setup Python 3.11
- name: setup Python 3.12
uses: actions/setup-python@v5
cache: "pip"
with:
python-version: "3.11"
python-version: "3.12"
- name: install tox
run: python -m pip install tox
- name: run check for ${{ matrix.tox_env }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ jobs:
steps:
- name: Setup python to build package
uses: actions/setup-python@v5
cache: "pip"
with:
python-version: "3.11"
python-version: "3.12"
- name: Install build
run: python -m pip install build
- uses: actions/checkout@v4
Expand Down

0 comments on commit 8c811f5

Please sign in to comment.