Skip to content

Rename tests.yml to test.yml for consistency with other repos #2

Rename tests.yml to test.yml for consistency with other repos

Rename tests.yml to test.yml for consistency with other repos #2

Workflow file for this run

name: Run CI checks
on: pull_request
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Install dependencies
run: make install
- name: Run linting and formatting checks
run: make lint
unit-tests:
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Run unit tests
run: make test
functional-tests:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: make install
- name: Run kinto
run: make run-kinto & sleep 5
- name: Run functional tests
run: make functional