From 5157d9abc05067d10e25a6a7ae805a2211273eb8 Mon Sep 17 00:00:00 2001 From: Tatiana Al-Chueyr Date: Thu, 20 Jun 2024 11:46:17 +0100 Subject: [PATCH 1/3] Cache CI hatch, remove incorrect reference to .nox --- .github/workflows/test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dcac01496c..5a79b4a070 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -66,7 +66,7 @@ jobs: with: path: | ~/.cache/pip - .nox + .local/share/hatch/ key: unit-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('cosmos/__init__.py') }} - name: Set up Python ${{ matrix.python-version }} @@ -120,7 +120,7 @@ jobs: with: path: | ~/.cache/pip - .nox + .local/share/hatch/ key: integration-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('cosmos/__init__.py') }} - name: Set up Python ${{ matrix.python-version }} @@ -190,7 +190,7 @@ jobs: with: path: | ~/.cache/pip - .nox + .local/share/hatch/ key: integration-expensive-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('cosmos/__init__.py') }} - name: Set up Python ${{ matrix.python-version }} @@ -252,7 +252,7 @@ jobs: with: path: | ~/.cache/pip - .nox + .local/share/hatch/ key: integration-sqlite-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('cosmos/__init__.py') }} - name: Set up Python ${{ matrix.python-version }} @@ -326,7 +326,7 @@ jobs: with: path: | ~/.cache/pip - .nox + .local/share/hatch/ key: integration-dbt-1-5-4-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('cosmos/__init__.py') }} - name: Set up Python ${{ matrix.python-version }} @@ -399,7 +399,7 @@ jobs: with: path: | ~/.cache/pip - .nox + .local/share/hatch/ key: perf-test-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.airflow-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('cosmos/__init__.py') }} - name: Set up Python ${{ matrix.python-version }} From a0219661bd51db361768e96fe58f1f1b1c7e4e70 Mon Sep 17 00:00:00 2001 From: Tatiana Al-Chueyr Date: Thu, 20 Jun 2024 11:46:56 +0100 Subject: [PATCH 2/3] Temporarily run GH actions on this branch --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5a79b4a070..abc594f874 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: test on: push: # Run on pushes to the default branch - branches: [main] + branches: [main, ci-cache-hatch] pull_request_target: # Also run on pull requests originated from forks branches: [main] From 17a4f6628dcabe8ae07810f975d3c703dd76a7e1 Mon Sep 17 00:00:00 2001 From: Tatiana Al-Chueyr Date: Mon, 24 Jun 2024 10:29:13 +0100 Subject: [PATCH 3/3] Update .github/workflows/test.yml Co-authored-by: Pankaj Koti --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index abc594f874..5a79b4a070 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: test on: push: # Run on pushes to the default branch - branches: [main, ci-cache-hatch] + branches: [main] pull_request_target: # Also run on pull requests originated from forks branches: [main]