Skip to content

Commit

Permalink
Merge pull request #451 from jGaboardi/gh_actions
Browse files Browse the repository at this point in the history
Trying out GitHub Actions for additional testing
  • Loading branch information
jGaboardi authored Mar 24, 2020
2 parents 4133ea3 + 07c63be commit e227c06
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/test-conda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
conda_36_ubuntu:
name: conda python 3.6 - ubuntu
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v2
- uses: goanpeca/setup-miniconda@v1
with:
activate-environment: test
environment-file: ci/travis/36-latest-conda-forge-PYPI.yaml
python-version: 3.6
auto-activate-base: false
- shell: bash -l {0}
run: |
conda info
conda list
python setup.py install
py.test -v spaghetti --doctest-modules
conda_37_ubuntu:
name: conda python 3.7 - ubuntu
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v2
- uses: goanpeca/setup-miniconda@v1
with:
activate-environment: test
environment-file: ci/travis/37-latest-conda-forge-PYPI.yaml
python-version: 3.7
auto-activate-base: false
- shell: bash -l {0}
run: |
conda info
conda list
python setup.py install
py.test -v spaghetti --doctest-modules
conda_38_ubuntu:
name: conda python 3.8 - ubuntu
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v2
- uses: goanpeca/setup-miniconda@v1
with:
activate-environment: test
environment-file: ci/travis/38-latest-conda-forge-PYPI.yaml
python-version: 3.8
auto-activate-base: false
- shell: bash -l {0}
run: |
conda info
conda list
python setup.py install
py.test -v spaghetti --doctest-modules

0 comments on commit e227c06

Please sign in to comment.