Skip to content

Commit

Permalink
Test venv check
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Jan 12, 2024
1 parent ab5d54c commit 7a9e5f7
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ jobs:
- os: macos-latest
os-label: macOS
python: "3.8"
- os: macos-latest
os-label: macOS
python: "venv"
- os: macos-latest
os-label: macOS
python: "installed"
Expand All @@ -242,6 +245,9 @@ jobs:
- os: ubuntu-latest
os-label: Linux
python: "3.8"
- os: ubuntu-latest
os-label: Linux
python: "venv"
- os: ubuntu-latest
os-label: Linux
python: "installed"
Expand All @@ -252,6 +258,9 @@ jobs:
- os: windows-latest
os-label: Windows
python: "installed"
- os: windows-latest
os-label: Windows
python: "venv"
- os: windows-2019
os-label: Windows 2019
python: "installed"
Expand All @@ -261,11 +270,17 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python
if: matrix.python != 'installed'
if: matrix.python != 'installed' && matrix.python != 'venv'
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

- name: Install virtualenv
if: matrix.python == 'venv'
run: |
python3 -m pip install virtualenv
shell: bash

- name: Download Artifacts
uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 7a9e5f7

Please sign in to comment.