From 5eb2b5ecb5e672086584793f7020d62c72d95ac2 Mon Sep 17 00:00:00 2001 From: Pankaj Koti Date: Wed, 9 Oct 2024 14:02:33 +0530 Subject: [PATCH 1/4] Add Python 3.11 and 3.12 to CI test pipeline --- .github/workflows/main.yml | 2 +- .gitignore | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a825efed..a7c497e6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,7 @@ jobs: build: strategy: matrix: - python: ['3.8', '3.9', '3.10'] + python: ['3.8', '3.9', '3.10', '3.11', '3.12'] runs-on: 'ubuntu-latest' steps: - uses: actions/checkout@master diff --git a/.gitignore b/.gitignore index 0ccc4210..cf58eb90 100644 --- a/.gitignore +++ b/.gitignore @@ -112,3 +112,10 @@ pip-selfcheck.json # sqllite db *.db + +# Airflow logs + +logs/ + +# MacOS DS_Store +*.DS_Store From d4c687b6a1204ef18ac619021861684a05ca217c Mon Sep 17 00:00:00 2001 From: Pankaj Koti Date: Wed, 9 Oct 2024 15:19:09 +0530 Subject: [PATCH 2/4] Update on push & pull_request_target values to avoid duplicate job runs --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a7c497e6..ad8f2a42 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,10 @@ name: build -on: [push, pull_request] +on: + push: # Run on pushes to the default branch + branches: [main] + pull_request_target: # Also run on pull requests originated from forks + branches: [main] jobs: build: From c4d34b312f33768ffd9bcfb3410c32fcdd38d819 Mon Sep 17 00:00:00 2001 From: Pankaj Koti Date: Wed, 9 Oct 2024 15:32:24 +0530 Subject: [PATCH 3/4] Update .github/workflows/main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ad8f2a42..3357ad60 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: build on: push: # Run on pushes to the default branch - branches: [main] + branches: [main,add-py-3_11-3_12-to-ci-test] pull_request_target: # Also run on pull requests originated from forks branches: [main] From d1e4d92b5047e76079cf49b1830edbf7518fe926 Mon Sep 17 00:00:00 2001 From: Tatiana Al-Chueyr Date: Wed, 9 Oct 2024 13:56:03 +0100 Subject: [PATCH 4/4] Update .github/workflows/main.yml Co-authored-by: Pankaj Koti --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3357ad60..ad8f2a42 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: build on: push: # Run on pushes to the default branch - branches: [main,add-py-3_11-3_12-to-ci-test] + branches: [main] pull_request_target: # Also run on pull requests originated from forks branches: [main]