From 07c63beff4f8f4334a9a6e98016f69f7b32e1549 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Mon, 23 Mar 2020 21:17:12 -0400 Subject: [PATCH] 1st attempt - github actions --- .github/workflows/test-conda.yml | 63 ++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/workflows/test-conda.yml diff --git a/.github/workflows/test-conda.yml b/.github/workflows/test-conda.yml new file mode 100644 index 00000000..1869da6f --- /dev/null +++ b/.github/workflows/test-conda.yml @@ -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 + + +