Skip to content

Adds GHA support

Adds GHA support #5

Workflow file for this run

name: Test
on:
pull_request:
branches:
- development
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
toxenv: [py310, linting]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: pip install -r requirements.txt
- name: Install dependencies
run: pip install --upgrade tox
- name: Run tox
run: tox
env:
TOXENV: ${{ matrix.toxenv }}