Add some initial testing templates and fix styles #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r https://raw.githubusercontent.com/cibr-jyu/meggie/master/requirements.txt | |
pip install -r https://raw.githubusercontent.com/cibr-jyu/meggie/master/dev-requirements.txt | |
pip install git+https://github.com/cibr-jyu/meggie.git | |
- name: Install meggie_statistics for tests | |
run: | | |
pip install . | |
- name: Check styles | |
run: | | |
make check | |
- name: Run tests | |
run: | | |
make test |