Skip to content

Commit

Permalink
[GitHub Actions] create virtual env on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
minchinweb committed May 18, 2021
1 parent cac2ab4 commit 6c91245
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/testing_external_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,23 @@ jobs:
path: .venv
key: ${{ runner.os }}-${{ hashFiles('poetry.lock') }}-${{ matrix.python-version }}-v2-namespace-plugins

- name: Create Virtual Environment
run: |
python -m venv .venv
- name: Activate Virtual Environment (Linux)
- name: Create and Activate Virtual Environment (Linux)
if: startsWith(matrix.os, 'ubuntu')
run: source .venv/bin/activate
run: /
python -m venv .venv
source .venv/bin/activate

- name: Activate Virtual Environment (Mac)
- name: Create and Activate Virtual Environment (Mac)
if: startsWith(matrix.os, 'macOS')
run: source .venv/bin/activate
run: /
python3 -m venv .venv
source .venv/bin/activate

- name: Activate Virtual Environment (Windows)
- name: Create and Activate Virtual Environment (Windows)
if: startsWith(matrix.os, 'windows')
run: .\.venv\Scripts\activate.ps1
run: /
python -m venv .venv
.\.venv\Scripts\activate.ps1

- name: Install dependencies
run: |
Expand Down

0 comments on commit 6c91245

Please sign in to comment.