This commit is contained in:
Andras Schmelczer 2025-08-25 19:25:24 +01:00
commit de4763c2cd
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
37 changed files with 922 additions and 696 deletions

View file

@ -30,32 +30,5 @@ jobs:
sqlx database create --database-url sqlite://db.sqlite3
sqlx migrate run --source src/app_state/database/migrations --database-url sqlite://db.sqlite3
- name: Lint sync-server
run: |
cd sync-server
cargo clippy --all-targets --all-features
cargo fmt --all -- --check
cargo machete
- name: Test sync-server
run: |
cd sync-server
cargo test --verbose
- name: Lint frontend
run: |
cd frontend
npm ci
npm run build
npm run lint
if [[ $(git status --porcelain) ]]; then
git status --porcelain
echo "Failing CI because the working directory is not clean after linting"
exit 1
fi
- name: Test frontend
run: |
cd frontend
npm ci
npm run test
- name: Lint & test
run: scripts/check.sh