-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe0ab0e
commit 28d013c
Showing
3 changed files
with
61 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: wsl-test | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
pytest: | ||
runs-on: [self-hosted, wsl] | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Conda Python 3.10 | ||
run: | | ||
conda remove -y --name test-env --all | ||
conda create -y -n test-env python=3.10 | ||
- name: Install dependencies | ||
run: | | ||
conda activate test-env | ||
make install | ||
- name: Make Docker | ||
run: | | ||
conda activate test-env | ||
make docker docker_tag="ablator-test" | ||
- name: Test with pytest | ||
run: | | ||
conda activate test-env | ||
make test test_tag="--test-suite mp" docker_tag="ablator-test" |
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,30 @@ | ||
name: wsl-test | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
pytest: | ||
runs-on: [self-hosted, wsl] | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Conda Python 3.10 | ||
run: | | ||
conda remove -y --name test-env --all | ||
conda create -y -n test-env python=3.10 | ||
- name: Install dependencies | ||
run: | | ||
conda activate test-env | ||
make install | ||
- name: Make Docker | ||
run: | | ||
conda activate test-env | ||
make docker docker_tag="ablator-test" | ||
- name: Test with pytest | ||
run: | | ||
conda activate test-env | ||
make test test_tag="--test-suite remote" docker_tag="ablator-test" |