From 598f7d7dbb3571719c8fd89fdd48b9b018bd61bc Mon Sep 17 00:00:00 2001 From: esoteric-ephemera Date: Fri, 11 Oct 2024 09:18:16 -0700 Subject: [PATCH 1/2] try to get ci enum gen to run on fork --- .github/workflows/testing.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index a891fc669..dc835a8fb 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -13,6 +13,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref }} + repository: ${{github.event.pull_request.head.repo.full_name}} fetch-depth: 0 - name: Set up Python @@ -51,14 +52,14 @@ jobs: fi test: - name: ${{ matrix.package }} (${{ matrix.os }}/py${{ matrix.python-version }}) needs: check-enums - runs-on: ${{ matrix.os }} strategy: matrix: os: ["ubuntu-latest"] # TODO openbabel for windows and mac package: ["emmet-core", "emmet-builders", "emmet-api"] python-version: ["3.10", "3.11"] + name: ${{ matrix.package }} (${{ matrix.os }}/py${{ matrix.python-version }}) + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 with: From 0bcfd11e75602de1176aeaab600bb55b9e0f16c2 Mon Sep 17 00:00:00 2001 From: esoteric-ephemera Date: Fri, 11 Oct 2024 09:24:56 -0700 Subject: [PATCH 2/2] one more missing spot for checking out pr fork --- .github/workflows/testing.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index dc835a8fb..38325007a 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -64,6 +64,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref }} + repository: ${{github.event.pull_request.head.repo.full_name}} fetch-depth: 0 - name: Set up Miniconda