Skip to content

Replace ruamel.yaml with pyyaml #60

Replace ruamel.yaml with pyyaml

Replace ruamel.yaml with pyyaml #60

name: Tests and coverage
on: [pull_request]
jobs:
Pytest_Coveralls:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@master
with:
python-version: 3.7
- run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
- name: Install Sambamba
run: |
brew update
brew install sambamba
- name: Install repo and its dependencies
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .
pip install coveralls
- name: Run pytest and coveralls
run: |
pytest --cov=chanjo tests/
coveralls --service=github
env:
GITHUB_TOKEN: ${{ github.token }}