Skip to content

Merge pull request #64 from KatyBrown/roman3 #114

Merge pull request #64 from KatyBrown/roman3

Merge pull request #64 from KatyBrown/roman3 #114

Workflow file for this run

name: CI
# We can specify which Github events will trigger a CI build
on: push
# now define a single job 'build' (but could define more)
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ 3.7, 3.8, 3.9, '3.10', 3.11, 3.12 ]
exclude: # Apple Silicon ARM64 does not support Python < v3.8
- python-version: "3.7"
os: macos-latest
include: # So run those legacy versions on Intel CPUs
- python-version: "3.7"
os: macos-13
fail-fast: false
# a job is a seq of steps
steps:
# Next we need to checkout out repository, and set up Python
# A 'name' is just an optional label shown in the log - helpful to clarify progress - and can be anything
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
pip3 install -e .
- name: Test with PyTest
run: |
pytest tests/consensusSeqTest.py tests/cropSeqTest.py tests/miniAlignmentsTest.py tests/parsingFunctionsTest.py tests/utilityFunctionsTest.py tests/similarityMatrixTest.py tests/pwmTest.py tests/palettesTest.py