Skip to content

Commit

Permalink
#163 Fix GitHub expression
Browse files Browse the repository at this point in the history
  • Loading branch information
roskakori committed Dec 10, 2024
1 parent c462ef2 commit e39e3ef
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
env:
MAIN_PYTHON_VERSION: "3.10"
MAIN_PYTHON_VERSION: "3.12"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
Expand All @@ -39,7 +39,7 @@ jobs:
run: |
poetry run pytest --cov=cutplace --cov-branch
- name: Update coveralls
if: ${{ matrix.python-version }} == $MAIN_PYTHON_VERSION
if: ${{ matrix.python-version == env.MAIN_PYTHON_VERSION}}
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -52,15 +52,15 @@ jobs:
# pull request merges to fail with "don't commit to branch".
if: github.ref != 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install pre-commit
run: |
sudo apt-get install python3
python -m pip install --upgrade pip
pip install pre-commit
- name: Load cached pre-commit
id: cached-pre-commit
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down

0 comments on commit e39e3ef

Please sign in to comment.