Fix classifiers #20
Workflow file for this run
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: Conda package test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache Conda | |
uses: actions/cache@v1 | |
with: | |
path: ~/.conda | |
key: ${{ runner.os }}-mconda-${{ hashFiles('**/configuration.yml') }} | |
restore-keys: | | |
${{ runner.os }}-conda- | |
- name: Set up Conda | |
uses: goanpeca/setup-miniconda@v1 | |
with: | |
miniconda-version: "latest" | |
- name: Verify conda version | |
shell: bash -l {0} | |
run: conda --version | |
- name: Update conda package | |
shell: bash -l {0} | |
run: | | |
conda env create -n beakerx -f configuration.yml | |
- name: Test BeakerX Base | |
shell: bash -l {0} | |
run: | | |
conda activate beakerx | |
pytest | |
- name: Build BeakerX Base | |
shell: bash -l {0} | |
run: | | |
conda activate beakerx | |
pip install -e . |