Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonkoehn committed Nov 12, 2024
1 parent 62344e3 commit 9b0c7e1
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ jobs:
poetry-version: ["1.8.3"]

steps:
- name: Check out repository
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Conda
uses: conda-incubator/setup-miniconda@v2
Expand All @@ -41,12 +43,8 @@ jobs:
id: cache-deps
uses: actions/cache@v2
with:
path: |
~/.cache/pypoetry
~/.conda/envs/myenv
key: ${{ runner.os }}-poetry-${{ matrix.poetry-version }}-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-${{ matrix.poetry-version }}-
path: .venv
key: pydeps-${{ hashFiles('**/poetry.lock') }}

- name: Activate Conda environment
shell: bash -l {0}
Expand All @@ -57,7 +55,7 @@ jobs:
- name: Set Python version for Poetry
run: poetry env use $(which python)

- name: Install dependencies
- name: Install the dependencies
run: poetry install --no-interaction --no-root --with dev
if: steps.cache-deps.outputs.cache-hit != 'true'

Expand Down

0 comments on commit 9b0c7e1

Please sign in to comment.