Update start logging place to ignore overhead before optimization step #68
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: pytest-conda | |
# Only run this when the branch changes | |
on: push | |
jobs: | |
create-env: | |
name: conda | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Create conda environment | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
channels: defaults, conda-forge, pytorch, nvidia | |
auto-activate-base: false | |
activate-environment: ci | |
environment-file: environment.yml | |
- name: Test with pytest | |
run: | | |
pytest tests/ |