fix tests

This commit is contained in:
Simon
2024-08-03 23:37:23 +02:00
parent 192d518c2b
commit b864813a7b
4 changed files with 4 additions and 26 deletions

View File

@@ -1,22 +0,0 @@
name: lint_js
on:
push:
paths:
- '**/*.js'
pull_request:
paths:
- '**/*.js'
jobs:
check:
name: lint_js
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm ci
- run: npm run lint
- run: npm run format -- --check

View File

@@ -36,7 +36,7 @@ jobs:
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install -r tubearchivist/requirements-dev.txt
pip install -r backend/requirements-dev.txt
- name: Run Linter
run: ./deploy.sh validate

View File

@@ -37,7 +37,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tubearchivist/requirements-dev.txt
pip install -r backend/requirements-dev.txt
- name: Run unit tests
run: pytest tubearchivist
run: pytest backend