-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use GitHub Actions to cache environments and use dependent CI workflo…
…w structure (#97) * use GitHub Actions to cache environments and use dependent CI workflow structure * use editable install in tests * coverage dependent on tests * add `CRDS_PATH` to local variables * run `jwst.datamodels` tests in parallel * add more variables from JWST tests * attempt `crds sync --all` beforehand * use `~` in user path * hardcode user dir * cache CRDS mappings used in `jwst.datamodels` tests * build a new cache on version change of CRDS context
- Loading branch information
1 parent
d33833b
commit 6f5f190
Showing
3 changed files
with
125 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Cancel duplicate workflows | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["CI"] | ||
types: | ||
- requested | ||
|
||
# Note: This has to be in workflow_run so it works for PRs from forks. | ||
jobs: | ||
cancel: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d # 0.8.0 | ||
with: | ||
workflow_id: ${{ github.event.workflow.id }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters