Skip to content

Merge pull request #5 from petereon/high_cpu_usage_fix #35

Merge pull request #5 from petereon/high_cpu_usage_fix

Merge pull request #5 from petereon/high_cpu_usage_fix #35

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
POETRY_VERSION: "<1.4.0"
jobs:
build:
if: |
! contains(github.event.head_commit.message, 'docs') &&
! contains(github.event.head_commit.message, 'chore')
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
fail-fast: false
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install "poetry${{ env.POETRY_VERSION }}" poethepoet
poetry install
- name: Test with ward
run: |
poe test