Skip to content

Release March 19th #227

Release March 19th

Release March 19th #227

name: Test - mitoinstaller pytest
on:
push:
branches: [ dev ]
paths:
- 'mitoinstaller/**'
pull_request:
paths:
- 'mitoinstaller/**'
jobs:
test-mitoinstaller:
strategy:
matrix:
python-version: [3.6, 3.8]
os: [ubuntu-20.04, windows-latest, macos-latest]
exclude:
- python-version: 3.6
os: 'windows-latest'
runs-on: ${{ matrix.os }}
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.7.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: |
mitosheet/setup.py
mitoinstaller/setup.py
mitoinstaller/requirements.txt
- name: Install dependencies
run: |
cd mitoinstaller
pip install -r requirements.txt
- name: Test with pytest
run: |
cd mitoinstaller
pytest