-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from jfennick/pypy_ci
Use pypy to run workflows in CI
- Loading branch information
Showing
3 changed files
with
33 additions
and
2 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
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 |
---|---|---|
|
@@ -66,6 +66,11 @@ jobs: | |
run: rm -rf "/home/$(whoami)/actions-runner/_work/workflow-inference-compiler/workflow-inference-compiler/3/envs/wic_github_actions/" | ||
# For self-hosted runners, make sure we install into a new mamba environment | ||
|
||
# Toil is currently incompatible with pypy | ||
# - name: Append pypy to conda environment files | ||
# if: runner.os != 'Windows' | ||
# run: cd wic/install/ && echo " - pypy" >> system_deps.yml | ||
|
||
- name: Setup mamba (linux, macos) | ||
if: always() | ||
uses: conda-incubator/[email protected] | ||
|
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 |
---|---|---|
|
@@ -111,6 +111,15 @@ jobs: | |
ref: ${{ inputs.mm-workflows_ref }} | ||
path: mm-workflows | ||
|
||
# NOTE: pypy actually decreases performance for build_and_test.yml (by a factor of ~2) | ||
# - name: Append pypy to conda environment files | ||
# if: runner.os != 'Windows' | ||
# run: cd wic/install/ && echo " - pypy" >> system_deps.yml | ||
|
||
# - name: Append pypy to conda environment files | ||
# if: runner.os == 'Windows' | ||
# run: cd wic/install/ && echo " - pypy" >> system_deps_windows.yml | ||
|
||
- name: Setup mamba (linux, macos) | ||
if: runner.os != 'Windows' | ||
uses: conda-incubator/[email protected] | ||
|
@@ -146,7 +155,10 @@ jobs: | |
if: always() | ||
# Also run mm-workflows command to generate | ||
# mm-workflows/autogenerated/schemas/config_schemas.json | ||
run: cd mm-workflows/ && pip install ".[all]" && mm-workflows | ||
# NOTE: Use ".[test]" instead of ".[all]" | ||
# We do not want or need to install the workflow_deps extra. | ||
# (Many of the packages conflict with pypy.) | ||
run: cd mm-workflows/ && pip install ".[test]" && mm-workflows | ||
|
||
- name: Build Documentation | ||
if: always() | ||
|