Skip to content

Switch to containerized CI #22

Switch to containerized CI

Switch to containerized CI #22

Workflow file for this run

name: Test suite
on:
workflow_dispatch:
pull_request:
branches: ['develop']
paths:
- .github/workflows/testsuite.yml
- superdsm/**
- examples/**
- superdsm.yml
- tests/**
- requirements.txt
jobs:
run_testsuite:
name: Test suite
runs-on: self-hosted
container:
image: ubuntu:20.04
defaults:
run:
shell: bash -el {0}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: 'latest'
channels: conda-forge, bioconda, defaults
auto-update-conda: true
auto-activate-base: false
activate-environment: superdsm
environment-file: superdsm.yml
- name: Run SuperDSM
run: python -m "unittest"