Skip to content

Commit

Permalink
Merge pull request #292 from biocore/mortonjt-patch-1
Browse files Browse the repository at this point in the history
Enable github actions
  • Loading branch information
mortonjt authored Jul 8, 2021
2 parents d83c4ef + 9ce8e34 commit af719c8
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# much of this is taken from the Empress main.yml file
name: gneiss CI

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.8", "3.9"]

steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0

- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: gneiss
python-version: ${{ matrix.python-version }}

- name: Test conda installation
shell: bash -l {0}
run: conda info

- name: Install conda packages
shell: bash -l {0}
run: conda install -c conda-forge statsmodels scikit-bio biom-format matplotlib flake8

- name: Install gneiss
shell: bash -l {0}
run: pip install -e .[dev]

- name: Run tests
shell: bash -l {0}
run: make all

0 comments on commit af719c8

Please sign in to comment.