Skip to content

Merge pull request #232 from joeirimpan/dependabot/pip/pytest-tw-8.0.0 #161

Merge pull request #232 from joeirimpan/dependabot/pip/pytest-tw-8.0.0

Merge pull request #232 from joeirimpan/dependabot/pip/pytest-tw-8.0.0 #161

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches: [master, develop]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
- uses: pre-commit/[email protected]
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Bootstrap poetry
shell: bash
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Configure poetry
shell: bash
run: poetry config virtualenvs.in-project true
- name: Install dependencies
shell: bash
run: poetry install
- name: Run pytest
shell: bash
run: poetry run pytest