Skip to content

Commit

Permalink
ci: use same steps order for connectors-integration-tests job trying …
Browse files Browse the repository at this point in the history
…to solve nox command not found error
  • Loading branch information
the-forest-tree committed Sep 28, 2023
1 parent d246be3 commit c106d99
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/hrflow_connectors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
lfs: true

- uses: excitedleigh/setup-nox@v2.0.0
- uses: actions/setup-python@v2
with:
python-version: ${{ env.BASELINE_PYTHON_VERSION }}

- name: Load cached Poetry installation
id: cached-poetry-install
Expand All @@ -121,13 +123,6 @@ jobs:
path: ~/.local
key: poetry-${{ env.POETRY_VERSION }}

- name: Load cached nox venvs
id: cached-nox-venvs
uses: actions/cache@v2
with:
path: ${{ env.NOX_ENV_DIR }}
key: nox-venvs-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

- name: Add poetry to PATH
run: export PATH="$HOME/.local/bin:$PATH"

Expand All @@ -138,6 +133,15 @@ jobs:
path: .venv
key: venv-${{ runner.os }}-${{ env.BASELINE_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}

- uses: excitedleigh/setup-nox@v2.0.0

- name: Load cached nox venvs
id: cached-nox-venvs
uses: actions/cache@v2
with:
path: ${{ env.NOX_ENV_DIR }}
key: nox-venvs-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
Expand Down

0 comments on commit c106d99

Please sign in to comment.