Skip to content

Commit

Permalink
Merge pull request #1129 from esoteric-ephemera/ci_fork
Browse files Browse the repository at this point in the history
Run CI enum generation on forks outside MP
  • Loading branch information
esoteric-ephemera authored Oct 11, 2024
2 parents 6836517 + 0bcfd11 commit 2a12298
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -51,18 +52,19 @@ 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:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{github.event.pull_request.head.repo.full_name}}
fetch-depth: 0

- name: Set up Miniconda
Expand Down

0 comments on commit 2a12298

Please sign in to comment.