Skip to content

Merge branch 'master' of github.com:swittouck/scarap #13

Merge branch 'master' of github.com:swittouck/scarap

Merge branch 'master' of github.com:swittouck/scarap #13

Workflow file for this run

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 .