Skip to content

Bump actions/checkout from 2 to 4 #13

Bump actions/checkout from 2 to 4

Bump actions/checkout from 2 to 4 #13

Workflow file for this run

name: Build
on:
push:
branches:
- master
- release/*
pull_request:
jobs:
test:
name: Python ${{ matrix.python-version }}, ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 9
fail-fast: false
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]
python-version: [ 3.6, 3.7, 3.8, 3.9, 3.10.0-beta.1 ]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: snok/install-poetry@v1.2
with:
virtualenvs-create: true
- name: Install dependencies
run: |
poetry config experimental.new-installer false
poetry config virtualenvs.in-project true
poetry install --no-interaction
- name: Run tests with Ward
run: |
poetry run coverage run -m ward
poetry run coverage xml -i
- name: Upload coverage report to codecov
run: |
bash <(curl -s https://codecov.io/bash) -f coverage.xml
shell: bash