Skip to content

Commit 9a04096

Browse files
committed
refactor: use a variable for the latest python version
1 parent 4e25f0b commit 9a04096

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
PYTHONPATH=$PWD:$PYTHONPATH pytest tests/slack_sdk/oauth/installation_store/test_sqlalchemy.py
5656
PYTHONPATH=$PWD:$PYTHONPATH pytest tests/slack_sdk/oauth/state_store/test_sqlalchemy.py
5757
- name: Confirm expected autogenerated reference exists
58-
if: ${{ matrix.python-version == env.LATEST_PYTHON_VERSION }}
58+
if: startsWith(matrix.python-version, env.LATEST_PYTHON_VERSION)
5959
run: |
6060
python -m venv .venv
6161
source .venv/bin/activate
@@ -71,7 +71,7 @@ jobs:
7171
token: ${{ secrets.CODECOV_TOKEN }}
7272
verbose: true
7373
- name: Upload test coverage to Codecov (only with latest supported version)
74-
if: startsWith(matrix.python-version, '3.13')
74+
if: startsWith(matrix.python-version, env.LATEST_PYTHON_VERSION)
7575
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
7676
with:
7777
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)