diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9b518e3..4090d7d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,6 +9,11 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Install poetry + run: | + echo "Installing Poetry" + pipx install poetry==${POETRY_VERSION} + - name: Setup Python 3.9 id: cache uses: actions/setup-python@v3 @@ -19,9 +24,6 @@ jobs: - name: Install dependencies if: steps.cache.outputs.cache-hit != 'true' run: | - echo "Installing Poetry" - pip install --upgrade pip - pip install poetry==${POETRY_VERSION} poetry install -D - run: poetry run invoke test-static @@ -32,6 +34,11 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Install poetry + run: | + echo "Installing Poetry" + pipx install poetry==${POETRY_VERSION} + - name: Setup Python 3.9 id: cache uses: actions/setup-python@v3 @@ -42,9 +49,6 @@ jobs: - name: Install dependencies if: steps.cache.outputs.cache-hit != 'true' run: | - echo "Installing Poetry" - pip install --upgrade pip - pip install poetry==${POETRY_VERSION} poetry install -D - run: poetry run invoke test-unit