diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 858bbfd..7d3eb0d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -40,16 +40,7 @@ jobs: run: poetry env use /opt/venv/bin/python - name: Install dependencies - run: poetry install --no-root --only main,test - - - name: Install pre-commit - run: pip install pre-commit==${{ env.PRECOMMIT_VERSION }} - - - name: Cache pre-commit - uses: actions/cache@v4 - with: - path: ~/.cache/pre-commit - key: precommit-${{ hashFiles('.pre-commit-config.yaml') }} + run: poetry install --no-root - name: Run pre-commit run: pre-commit run --all-files diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 17682f3..a865022 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,10 +40,7 @@ jobs: run: poetry env use /opt/venv/bin/python - name: Install dependencies - run: poetry install --no-root --only main,test - - - name: Install stormpy manually - run: poetry run pip install /opt/stormpy + run: poetry install --no-root - name: Run tests run: poetry run pytest