From ca30c293afbce5512fa94b90c822eefb589acbe0 Mon Sep 17 00:00:00 2001 From: Jen Hamon Date: Tue, 27 May 2025 11:20:54 -0400 Subject: [PATCH 1/6] Trigger workflow manually --- .github/workflows/testing-install.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing-install.yaml b/.github/workflows/testing-install.yaml index 1afb21b22..72def9db5 100644 --- a/.github/workflows/testing-install.yaml +++ b/.github/workflows/testing-install.yaml @@ -1,7 +1,7 @@ name: Installation Tests on: - workflow_call: + workflow_dispatch: permissions: contents: read From 62a0b13475f055fa341180d4159a5d42901dc5f5 Mon Sep 17 00:00:00 2001 From: Jen Hamon Date: Tue, 27 May 2025 11:21:42 -0400 Subject: [PATCH 2/6] Temporarily disable integration test suite on push --- .github/workflows/pr.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 57ed758af..070e9e79a 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -40,22 +40,22 @@ concurrency: cancel-in-progress: true jobs: - linting: - uses: './.github/workflows/lint.yaml' + # linting: + # uses: './.github/workflows/lint.yaml' - unit-tests: - uses: './.github/workflows/testing-unit.yaml' - secrets: inherit + # unit-tests: + # uses: './.github/workflows/testing-unit.yaml' + # secrets: inherit - integration-tests: - uses: './.github/workflows/testing-integration.yaml' - secrets: inherit - needs: unit-tests + # integration-tests: + # uses: './.github/workflows/testing-integration.yaml' + # secrets: inherit + # needs: unit-tests - dependency-tests: - uses: './.github/workflows/testing-dependency.yaml' - secrets: inherit - needs: unit-tests + # dependency-tests: + # uses: './.github/workflows/testing-dependency.yaml' + # secrets: inherit + # needs: unit-tests package: name: Check packaging From ef5e30023069a441c3d8802dfd23f974301328e0 Mon Sep 17 00:00:00 2001 From: Jen Hamon Date: Tue, 27 May 2025 11:23:20 -0400 Subject: [PATCH 3/6] Run install tests on PR --- .github/workflows/testing-install.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/testing-install.yaml b/.github/workflows/testing-install.yaml index 72def9db5..1625ec5d6 100644 --- a/.github/workflows/testing-install.yaml +++ b/.github/workflows/testing-install.yaml @@ -2,6 +2,7 @@ name: Installation Tests on: workflow_dispatch: + pull_request: permissions: contents: read From b147791de24225c9e61327975de0218f0d1475fa Mon Sep 17 00:00:00 2001 From: Jen Hamon Date: Tue, 27 May 2025 11:30:34 -0400 Subject: [PATCH 4/6] Iterate on install step --- .github/workflows/testing-install.yaml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing-install.yaml b/.github/workflows/testing-install.yaml index 1625ec5d6..c36f2ecd0 100644 --- a/.github/workflows/testing-install.yaml +++ b/.github/workflows/testing-install.yaml @@ -34,8 +34,23 @@ jobs: - name: Install from built artifacts run: | - # Use the wheel if it's pure-python; fallback to sdist otherwise - pip install dist/*.whl || pip install dist/*.tar.gz + python - < Date: Tue, 27 May 2025 11:35:28 -0400 Subject: [PATCH 5/6] Iterate --- .github/workflows/testing-install.yaml | 63 ++++++++++++++++++-------- 1 file changed, 45 insertions(+), 18 deletions(-) diff --git a/.github/workflows/testing-install.yaml b/.github/workflows/testing-install.yaml index c36f2ecd0..4b277fcb1 100644 --- a/.github/workflows/testing-install.yaml +++ b/.github/workflows/testing-install.yaml @@ -9,11 +9,10 @@ permissions: pull-requests: write jobs: - test-install: - runs-on: ${{ matrix.os }} + test-install-linux: + runs-on: ubuntu-latest strategy: matrix: - os: [ubuntu-latest, windows-latest] python: [3.9] steps: @@ -33,25 +32,53 @@ jobs: run: python -m build --sdist --wheel - name: Install from built artifacts + shell: bash + run: | + pip install dist/*.whl || pip install dist/*.tar.gz + + - name: Verify import & version run: | python - < Date: Tue, 27 May 2025 11:45:23 -0400 Subject: [PATCH 6/6] Iterate --- .github/workflows/testing-install.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/testing-install.yaml b/.github/workflows/testing-install.yaml index 4b277fcb1..a367d6926 100644 --- a/.github/workflows/testing-install.yaml +++ b/.github/workflows/testing-install.yaml @@ -55,7 +55,7 @@ jobs: - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python }} + python-version: ${{ matrix.python }} - name: Install build tools run: | @@ -63,7 +63,7 @@ jobs: - name: Build sdist & wheel run: python -m build --sdist --wheel - + - name: Install from built artifacts shell: pwsh run: | @@ -80,8 +80,6 @@ jobs: } - name: Verify import & version + shell: pwsh run: | - python - <