-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OSX CI Testing with Github Actions (#3)
* removes osx from Travis config * adds github actions `lint-build-test` workflow * adds unifrac to meta.yaml * adds `unifrac`, `psutil` deps to recipe * alphabetizes dependencies * adds test data assets to setup.py
- Loading branch information
1 parent
c8f39d0
commit e1361c1
Showing
6 changed files
with
51 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: lint-build-test | ||
# build on every PR and commit to master | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: set up python 3.6 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.6 | ||
- name: install dependencies | ||
run: python -m pip install --upgrade pip | ||
- name: lint | ||
run: | | ||
pip install -q https://github.com/qiime2/q2lint/archive/master.zip | ||
q2lint | ||
pip install -q flake8 | ||
flake8 | ||
build-and-test: | ||
needs: lint | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
# for versioneer | ||
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | ||
- uses: qiime2/action-library-packaging@alpha1 | ||
with: | ||
plugin-name: q2-diversity-lib | ||
additional-tests: pytest --pyargs q2_diversity_lib |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ sudo: false | |
language: python | ||
os: | ||
- linux | ||
- osx | ||
|
||
before_install: | ||
- export MPLBACKEND='Agg' | ||
|
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
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
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
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