Added support for ratio OECs #69
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: Conda | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
create-env: | |
name: tests-pytest | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["macos-latest"] | |
python-version: ["3.9"] | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-activate-base: false | |
channels: conda-forge, defaults | |
python-version: ${{ matrix.python-version }} | |
activate-environment: tw_exp | |
environment-file: envs/environment.yml | |
- name: Conda info | |
shell: bash -el {0} | |
run: conda info | |
- name: Conda list | |
shell: pwsh | |
run: conda list | |
- name: Testing (without coverage) | |
run: pytest tests/ |