Skip to content

Commit 0281160

Browse files
committed
Shorten the name of variable "python-version"
Using "python" shortens some lines and is clear enough.
1 parent 2838858 commit 0281160

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/nightly-tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ concurrency:
4040
jobs:
4141
Pytest:
4242
# Try to fit as much info as possible into the GHA sidebar at run-time.
43-
name: Py ${{matrix.python-version}} + ${{matrix.os}}/${{matrix.arch}} + ${{matrix.cirq}}
43+
name: Py ${{matrix.python}} + ${{matrix.os}}/${{matrix.arch}} + ${{matrix.cirq}}
4444
runs-on: ${{matrix.os}}
4545
timeout-minutes: 15
4646
strategy:
@@ -49,7 +49,7 @@ jobs:
4949
# These Python versions were carefully selected by trial and error
5050
# to be available on as many os/arch combos as possible, while also
5151
# making all necessary Python dependencies available on those combos.
52-
python-version: ['3.11.9', '3.12.7', '3.13.1']
52+
python: ['3.11.9', '3.12.7', '3.13.1']
5353
os: [ubuntu-24.04, ubuntu-24.04-arm, macos-15, macos-14, windows-2025]
5454
cirq: ['cirq-core', 'cirq-core~=1.0.dev0']
5555
arch: [x64, arm64]
@@ -76,11 +76,11 @@ jobs:
7676
- name: Check out a copy of the OpenFermion git repository
7777
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
7878

79-
- name: Set up Python ${{matrix.python-version}}
79+
- name: Set up Python ${{matrix.python}}
8080
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
8181
id: cache
8282
with:
83-
python-version: ${{matrix.python-version}}
83+
python: ${{matrix.python}}
8484
architecture: ${{matrix.arch}}
8585
cache: pip
8686
cache-dependency-path: dev_tools/requirements/envs/pytest.env.txt

0 commit comments

Comments
 (0)