Re-add the environment file #25
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: CI | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
python-version: ["3.7", "3.8", "3.10"] | |
name: build-linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Checkout test data | |
uses: actions/checkout@v3 | |
with: | |
repository: LebeerLab/SCARAP-testdata | |
path: testdata | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup BATS | |
uses: mig4/setup-bats@v1 | |
with: | |
bats-version: 1.2.1 | |
- uses: brokenpip3/[email protected] | |
with: | |
support-path: ${{ github.workspace }}/test/test_helper/bats-support | |
assert-path: ${{ github.workspace }}/test/test_helper/bats-assert | |
- name: Add conda to system path | |
run: | | |
# $CONDA is an environment variable pointing to the root of the miniconda directory | |
echo $CONDA/bin >> $GITHUB_PATH | |
- name: Install dependencies | |
run: | | |
conda env update --file environment.yml --name base | |
- name: Test with bats | |
run: | | |
bats -r . |