build(deps): bump dnspython from 2.4.2 to 2.6.1 in /flask #470
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: Tests | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
backend-tests: | |
name: Back-end tests | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- | |
name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
cd flask; pip install -r requirements.txt | |
- | |
name: Run tests | |
run: python -m unittest | |
frontend-tests: | |
name: Front-end tests | |
if: ${{ false }} # Disabled as there are no tests | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
cache: 'npm' | |
cache-dependency-path: angular/package-lock.json | |
- | |
name: Setup Chrome | |
uses: browser-actions/setup-chrome@latest | |
- | |
name: Run tests | |
run: cd angular; npm i; CHROMIUM_BIN=$(which chrome) npm test | |
frontend-lint: | |
name: Front-end linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
cache: 'npm' | |
cache-dependency-path: angular/package-lock.json | |
- name: Run linting | |
run: cd angular; npm i; npm run lint |