Skip to content

Commit

Permalink
docs: step names
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoliwa committed Apr 12, 2024
1 parent c9f5f20 commit f61d29f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,19 @@ jobs:
- name: Install tox
run: python -m pip install tox

- name: "Set lint/docs env var"
- name: "Set LINT_DOCS"
if: matrix.python-version == '3.9'
run: |
echo "LINT_DOCS=,lint,docs" >> $GITHUB_ENV
- name: "Set tox env var on Windows"
- name: "Set TOX_ENV on Windows"
if: matrix.os == 'windows-latest'
run: |
$pythonVersion = "${{ matrix.python-version }}"
$TOX_ENV = "py" + $pythonVersion.Replace('.', '')
echo "TOX_ENV=$TOX_ENV" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: "Set tox env var on Linux/macOS"
- name: "Set TOX_ENV on Linux/macOS"
if: matrix.os != 'windows-latest'
run: |
echo "TOX_ENV=$(echo py${{ matrix.python-version }} | tr -d .)" >> $GITHUB_ENV
Expand Down

0 comments on commit f61d29f

Please sign in to comment.