File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Testing Lab CI
2+
3+ on :
4+ push :
5+ paths :
6+ - ' 5 - Testing/Ejercicios/Testing-Lab/**'
7+ pull_request :
8+ paths :
9+ - ' 5 - Testing/Ejercicios/Testing-Lab/**'
10+
11+ jobs :
12+ test :
13+ runs-on : ubuntu-latest
14+ defaults :
15+ run :
16+ working-directory : ./5 - Testing/Ejercicios/Testing-Lab
17+
18+ steps :
19+ - uses : actions/checkout@v4
20+
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : ' 18'
25+ cache : ' npm'
26+ cache-dependency-path : ' ./5 - Testing/Ejercicios/Testing-Lab/package-lock.json'
27+
28+ - name : Install dependencies
29+ run : npm ci
30+
31+ - name : Run tests
32+ run : npm test
33+
34+ - name : Upload coverage reports to Codecov
35+ uses : codecov/codecov-action@v3
36+ with :
37+ directory : ./5 - Testing/Ejercicios/Testing-Lab/coverage
38+ flags : unittests
You can’t perform that action at this time.
0 commit comments