Merge pull request #246 from EricDinging/fix-test #70
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
name: Python application | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
conda-test: | |
name: Linux | |
runs-on: "ubuntu-latest" | |
defaults: | |
run: | |
shell: bash -el {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: anaconda-client-env | |
environment-file: environment.yml | |
python-version: 3.7 | |
auto-activate-base: false | |
- run: | | |
conda info | |
conda list | |
pip install -e . | |
conda install pytest | |
pytest | |