File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 35
35
36
36
- name : Cleanup
37
37
run : docker-compose -f local.yml down --volumes
38
+
39
+ report-coverage :
40
+ needs : run-tests
41
+ runs-on : ubuntu-latest
42
+ steps :
43
+ - name : Check out merged code
44
+ uses : actions/checkout@v2
45
+
46
+ - name : Set up Docker Compose
47
+ run : |
48
+ sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
49
+ sudo chmod +x /usr/local/bin/docker-compose
50
+
51
+ - name : Build the Docker environment
52
+ run : docker-compose -f local.yml build
53
+
54
+ - name : Extract coverage data
55
+ run : docker-compose -f local.yml run --rm django coverage report
56
+
57
+ - name : Cleanup after coverage
58
+ run : docker-compose -f local.yml down --volumes
You can’t perform that action at this time.
0 commit comments