File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed
Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change 1616 services :
1717 postgres :
1818 image : postgres
19+ ports :
20+ - 5432:5432
1921 env :
2022 POSTGRES_USER : pguser
2123 POSTGRES_PASSWORD : pgpassword
2628 --health-timeout 5s
2729 --health-retries 5
2830 env :
29- PG_HOST : postgres
31+ PG_HOST : localhost
3032 PG_USER : pguser
3133 PG_PASSWORD : pgpassword
3234 PG_DB : postgres
5052 - name : Install dependencies
5153 run : poetry install --only=main,dev,test
5254
53- - name : Run linting
55+ - name : Running tests
5456 run : poetry run pytest --cov llm_eval tests
57+
58+ frontend-tests :
59+ name : Frontend Tests
60+ runs-on : ubuntu-latest
61+ defaults :
62+ run :
63+ working-directory : ./frontend
64+ steps :
65+ - uses : actions/checkout@v4
66+
67+ - uses : actions/setup-node@v4
68+ with :
69+ node-version : ' 20.14'
70+ cache : ' npm'
71+ cache-dependency-path : ' ./frontend/package-lock.json'
72+
73+ - name : Install dependencies
74+ run : npm ci
75+
76+ - name : Run tests
77+ run : npm run test:coverage
You can’t perform that action at this time.
0 commit comments