From a06dd6efbe4c6092db6f56c645582eb481800a65 Mon Sep 17 00:00:00 2001 From: Hofer-Julian Date: Mon, 18 Sep 2023 08:48:22 +0200 Subject: [PATCH] Stop running `pixi install` in CI See https://github.com/prefix-dev/pixi/pull/340#issuecomment-1722436539 --- .github/workflows/core_tests.yml | 4 +--- .github/workflows/docs.yml | 4 +--- .github/workflows/python_lint.yml | 4 +--- .github/workflows/python_tests.yml | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/core_tests.yml b/.github/workflows/core_tests.yml index 9687cfa1b..59f5ff020 100644 --- a/.github/workflows/core_tests.yml +++ b/.github/workflows/core_tests.yml @@ -31,9 +31,7 @@ jobs: pixi-version: latest cache: true - name: Prepare pixi - run: | - pixi install - pixi run post-install-without-pre-commit + run: pixi run post-install-without-pre-commit - name: Prepare model input run: | pixi run generate-testmodels diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 686cf1a99..8a7a097ba 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -42,9 +42,7 @@ jobs: pixi-version: latest cache: true - name: Prepare pixi - run: | - pixi install - pixi run post-install-without-pre-commit + run: pixi run post-install-without-pre-commit - name: Check Quarto installation and all engines run: pixi run quarto-check diff --git a/.github/workflows/python_lint.yml b/.github/workflows/python_lint.yml index 27987bc73..274dcecf5 100644 --- a/.github/workflows/python_lint.yml +++ b/.github/workflows/python_lint.yml @@ -21,9 +21,7 @@ jobs: pixi-version: "latest" cache: true - name: Prepare pixi - run: | - pixi install - pixi run post-install-without-pre-commit + run: pixi run post-install-without-pre-commit - name: Run mypy on python/ribasim run: | pixi run mypy-ribasim-python diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml index c7d7b1bd5..8d7c17ce7 100644 --- a/.github/workflows/python_tests.yml +++ b/.github/workflows/python_tests.yml @@ -34,9 +34,7 @@ jobs: pixi-version: latest cache: true - name: Prepare pixi - run: | - pixi install - pixi run post-install-without-pre-commit + run: pixi run post-install-without-pre-commit - name: Run tests run: pixi run test-ribasim-python-cov