Bump version 0.6.1a0 #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.7", "3.8", "3.9", "3.10"] | |
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 |