Update github actions to new scheme #129
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
name: CI | |
on: [workflow_dispatch, pull_request, push] | |
jobs: | |
quick-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
#- uses: fastai/workflows/nbdev-ci@master | |
#- uses: mamba-org/provision-with-micromamba@main | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: std_env.yaml | |
environment-name: std_env | |
- name: Run nbdev_test | |
shell: bash -l {0} | |
run: | | |
nbdev_test --do_print | |
asap-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
#- uses: mamba-org/provision-with-micromamba@main | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: asap_env.yaml | |
environment-name: asap_env | |
- name: Run nbdev_test_asap | |
shell: bash -l {0} | |
run: | | |
nbdev_test --do_print --flags asap |