Skip to content

Drop Python 3.7 and add Python 3.11 (#46) #104

Drop Python 3.7 and add Python 3.11 (#46)

Drop Python 3.7 and add Python 3.11 (#46) #104

Workflow file for this run

name: Code quality and tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
code-checks:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install tox tox-gh-actions
- name: Run tests
run: |
tox
ui-checks:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./ui
steps:
- uses: actions/checkout@v2
- name: Set up Node.js 18
uses: actions/setup-node@v2
with:
node-version: "18"
- name: Install Node.js dependencies
run: npm ci --no-option --no-audit --progress=false
- name: Run tests
run: npm run test
- name: Build error UI
run: npm run build