Skip to content

Update conda-docker-update.yml #54

Update conda-docker-update.yml

Update conda-docker-update.yml #54

Workflow file for this run

name: autoStreamTree CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
environment-file: environment.yml
activate-environment: autostreamtree
use-mamba: true
- name: Install Package
shell: bash -l {0}
run: |
conda activate autostreamtree
pip install -e .
- name: Lint with flake8
shell: bash -l {0}
run: |
conda activate autostreamtree
flake8 autostreamtree/*.py
- name: Run unit tests
shell: bash -l {0}
run: |
conda activate autostreamtree
pytest tests/