Skip to content

Pre commit check cleanup #54

Pre commit check cleanup

Pre commit check cleanup #54

Workflow file for this run

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/