Skip to content

Commit 5888b5f

Browse files
committed
expand env.PYTHON_VERSION
1 parent 53d31ed commit 5888b5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/python-package-conda.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: conda-incubator/setup-miniconda@v3
3838
with:
3939
auto-update-conda: true
40-
python-version: env.PYTHON_VERSION
40+
python-version: ${{ env.PYTHON_VERSION }}
4141
- name: Install Base Env
4242
run: |
4343
conda info
@@ -66,15 +66,15 @@ jobs:
6666
pytest --cov-config=.coveragerc --cov-report=xml --cov=pymatsolver -s -v
6767
6868
- name: Test Documentation
69-
if: ${{ matrix.os == 'ubuntu-latest' }} and ${{matrix.python-major-version == 3}} and ${{ matrix.python-minor-version == 11}}
69+
if: ${{ matrix.os == 'ubuntu-latest' }} and ${{ env.PYTHON_VERSION == "3.11"}}
7070
run: |
7171
pip install -r requirements_docs.txt
7272
cd docs
7373
make html
7474
cd ..
7575
7676
- name: Upload coverage
77-
if: ${{ matrix.os == 'ubuntu-latest' }} and and ${{matrix.python-major-version == 3}} and ${{ matrix.python-minor-version == 11}}
77+
if: ${{ matrix.os == 'ubuntu-latest' }} and ${{ env.PYTHON_VERSION == "3.11"}}
7878
uses: codecov/codecov-action@v4
7979
with:
8080
verbose: true # optional (default = false)

0 commit comments

Comments
 (0)