mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-03 23:16:14 +02:00
[GitHub Actions] skip virtual environments altogether
This commit is contained in:
parent
8afa3c065c
commit
ffe4a5f956
1 changed files with 20 additions and 20 deletions
40
.github/workflows/testing_external_plugins.yaml
vendored
40
.github/workflows/testing_external_plugins.yaml
vendored
|
@ -39,29 +39,29 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: poetry cache
|
# - name: poetry cache
|
||||||
uses: actions/cache@v2
|
# uses: actions/cache@v2
|
||||||
with:
|
# with:
|
||||||
path: .venv
|
# path: .venv
|
||||||
key: ${{ runner.os }}-${{ hashFiles('poetry.lock') }}-${{ matrix.python-version }}-v2-namespace-plugins
|
# key: ${{ runner.os }}-${{ hashFiles('poetry.lock') }}-${{ matrix.python-version }}-v2-namespace-plugins
|
||||||
|
|
||||||
- name: Create and Activate Virtual Environment (Linux)
|
# - name: Create and Activate Virtual Environment (Linux)
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
# if: startsWith(matrix.os, 'ubuntu')
|
||||||
run: |
|
# run: |
|
||||||
python -m venv .venv
|
# python -m venv .venv
|
||||||
source .venv/bin/activate
|
# source .venv/bin/activate
|
||||||
|
|
||||||
- name: Create and Activate Virtual Environment (Mac)
|
# - name: Create and Activate Virtual Environment (Mac)
|
||||||
if: startsWith(matrix.os, 'macOS')
|
# if: startsWith(matrix.os, 'macOS')
|
||||||
run: |
|
# run: |
|
||||||
python3 -m venv .venv
|
# python3 -m venv .venv
|
||||||
source .venv/bin/activate
|
# source .venv/bin/activate
|
||||||
|
|
||||||
- name: Create and Activate Virtual Environment (Windows)
|
# - name: Create and Activate Virtual Environment (Windows)
|
||||||
if: startsWith(matrix.os, 'windows')
|
# if: startsWith(matrix.os, 'windows')
|
||||||
run: |
|
# run: |
|
||||||
python -m venv .venv
|
# python -m venv .venv
|
||||||
.\.venv\Scripts\activate.ps1
|
# .\.venv\Scripts\activate.ps1
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue