-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add conda canary CI job #903
Changes from 4 commits
3026816
1a95bd4
94fd58b
0c072fd
e054f2e
44b25b3
8394ffe
564fa03
31e4b14
8b49691
6de2486
6f5c442
83d7843
6a70c4f
0c2952a
e9556da
1f88506
357511c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: "conda_cron" | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
schedule: | ||
# At 07:00 UTC every day | ||
- cron: "0 7 * * *" | ||
|
||
concurrency: | ||
group: "${{ github.workflow }}-${{ github.ref }}" | ||
cancel-in-progress: true | ||
|
||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
jobs: | ||
condacheck: | ||
runs-on: ${{ matrix.OS }} | ||
name: "daily conda check" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ['ubuntu-latest', 'macos-latest', 'macos-13'] | ||
python-version: | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
|
||
steps: | ||
- name: Setup Micromamba | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-name: openfe | ||
create-args: >- | ||
python=${{ matrix.python-version }} | ||
pip | ||
condarc: | | ||
channels: | ||
- jaimergp/label/unsupported-cudatoolkit-shim | ||
- conda-forge | ||
init-shell: bash | ||
|
||
- name: "Install openfe + optional deps" | ||
run: | | ||
micromamba install openfe pytest -c conda-forge | ||
python -m pip install pytest-xdist PyGithub | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what does There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. o that was just me being silly wanting to do something else |
||
|
||
- name: "env info" | ||
run: | | ||
micormamba info | ||
micromamba list | ||
pip list | ||
|
||
- id: run-tests | ||
name: "Run tests" | ||
run: | | ||
# note: this only runs the fast tests | ||
pytest -n auto --pyargs openfe openfecli | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm relying on a normal failure here rather than raising the issue as we do with gufe. The plan will be to hook up Swenson's cron job checker tool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this once CI runs