Skip to content

Commit

Permalink
test.yml: create venv and install project in same step
Browse files Browse the repository at this point in the history
  • Loading branch information
eneelo committed Dec 6, 2024
1 parent cfedd55 commit a0bbcab
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,17 @@ jobs:
# with:
# path: .venv
# key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Create venv and install project dependencies
- name: Create venv and install project
# install if not cached
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
- name: Install project
# required to test the CLI, show working directory for debugging
run: |
run:
poetry install --no-interaction
ls -a
# - name: Install project
# # required to test the CLI, show working directory for debugging
# run: |
# poetry install --no-interaction
# ls -a
- name: Run unit tests
run: |
source .venv/bin/activate
Expand Down

0 comments on commit a0bbcab

Please sign in to comment.