Skip to content

Bridge gap in municipality graph, resize footer logo and minor cleanup #120

Bridge gap in municipality graph, resize footer logo and minor cleanup

Bridge gap in municipality graph, resize footer logo and minor cleanup #120

Workflow file for this run

name: Run tests on PR
on:
pull_request:
branches:
- main
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Download dependencies
uses: bahmutov/npm-install@v1
- name: Run linting
run: npm run lint
test:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
- name: Checkout code
uses: actions/checkout@v3
# Node.js setup
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Download dependencies
uses: bahmutov/npm-install@v1
- name: Run TypeScript tests
run: npm test
# Python setup
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Install Python dependencies
run: pip3 install -r data/requirements.txt
# Run Python tests
# Fixme: Uncomment when tests are added!
# - name: Run Python tests
# run: python3 -m unittest discover -s data/tests