Skip to content

Merge pull request #38 from uktrade/test/avoid-range #98

Merge pull request #38 from uktrade/test/avoid-range

Merge pull request #38 from uktrade/test/avoid-range #98

Workflow file for this run

name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
name: Test
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
- "3.6.7"
- "3.7.1"
- "3.8.0"
- "3.9.0"
- "3.10.0"
- "3.11.0"
steps:
- name: "Checkout"
uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: '${{ matrix.python-version }}'
- name: "Install funzip"
run: |
sudo apt-get update
sudo apt-get install unzip
- name: "Install package and python dependencies"
run: |
pip install .[dev]
- name: "Test"
run: |
pytest --cov
- uses: codecov/codecov-action@v3