Skip to content

New class structure and names, and example #12

New class structure and names, and example

New class structure and names, and example #12

Workflow file for this run

name: Countoscope Unit Tests
on:
# Run the workflow on pushes to the 'develop' branch and pull requests targeting 'develop'
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
# Specify the OS environment (Ubuntu) for the GitHub runner
build:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository, including submodules and any LFS-managed files
- uses: actions/checkout@v2
with:
submodules: true
lfs: true
# Step 2: Set up Python 3.10.7
- name: Set up Python 3.10.7
uses: actions/setup-python@v2
with:
python-version: "3.10.7"
# Step 3: Update pip, Install dependencies, Install the Countoscope
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
# Step 4: Run tests using pytest
- name: Test with pytest
run: |
cd tests
pip install -r requirements.txt
pytest .