Skip to content

Release v0.6.1

Release v0.6.1 #152

Workflow file for this run

name: tests
on:
push:
branches:
- main
- dev
tags:
- v*
pull_request:
branches:
- dev
- main
jobs:
test:
name: python-${{ matrix.python }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 40 # default is 360
strategy:
matrix:
python:
- "3.9"
- "3.10"
- "3.11"
os:
- ubuntu-22.04
- macos-12
# - windows-latest
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # https://github.com/actions/checkout/releases/tag/v3.6.0
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # https://github.com/actions/setup-python/releases/tag/v2
with:
python-version: ${{ matrix.python }}
- name: Install Poetry
run: pip install poetry
- name: Install Poetry dependencies
run: poetry install -n --no-root -E client
- name: Run linters
run: poetry run make check
- name: Run tests
run: poetry run make tests
continue-on-error: ${{ matrix.tier > 1 }}
- name: Upload coverage
uses: codecov/codecov-action@29386c70ef20e286228c72b668a06fd0e8399192 # https://github.com/codecov/codecov-action/releases/tag/v1
if: matrix.python == 3.9 && startsWith(matrix.os, 'ubuntu')