Files
FarmaFinder/.gitea/workflows/tests.yaml
Ichitux b5d1cb12bf
Some checks failed
Run Tests / test-backend (push) Failing after 48s
Run Tests / test-frontend (push) Failing after 24s
Add tests in workflow
2026-04-01 01:24:17 +02:00

32 lines
685 B
YAML

name: Run Tests
run-name: ${{ gitea.actor }} - ${{ gitea.event_name }} - ${{ gitea.ref }}
on: [push]
jobs:
test-backend:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
cd backend
npm ci
- name: Run tests
run: |
cd backend
npm run test
test-frontend:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
cd frontend
npm ci
- name: Run tests
run: |
cd frontend
npm run test