diff --git a/.devcontainer/postCreate.sh b/.devcontainer/postCreate.sh index 3746458ca..6c333d58f 100755 --- a/.devcontainer/postCreate.sh +++ b/.devcontainer/postCreate.sh @@ -4,6 +4,10 @@ pip install --upgrade pip pip install poetry +# https://pypi.org/project/poetry-plugin-export/ +pip install poetry-plugin-export +poetry config warnings.export false + poetry install --with dev poetry run pre-commit install diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1fa17ca4b..3d9a69d27 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,17 +19,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Install Poetry + run: pip install poetry - name: Setup python uses: actions/setup-python@v5 with: python-version: "3.11" architecture: x64 - cache: pip - cache-dependency-path: "**/pyproject.toml" - - name: Install Poetry - run: | - pip install poetry - - name: Install dependencies + cache: 'poetry' + - name: Install dependencies through poetry run: | poetry install - name: Get coverage artifact ID