Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

[pre-commit.ci] pre-commit autoupdate #127

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #127

name: Continuous Integration Workflow
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
run-tests:
name: Run tests for ${{ matrix.os }} on ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.6', '3.7']
steps:
- uses: actions/checkout@v2
- uses: goanpeca/setup-miniconda@v1
with:
activate-environment: robupy
auto-update-conda: true
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
- name: Run pytest.
shell: bash -l {0}
run: pytest --cov-report=xml --cov=./
- name: Run pre-commits.
shell: bash -l {0}
run: |
pre-commit install -f --install-hooks
pre-commit run --all-files