File tree Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 27
27
run : |
28
28
make docker_test
29
29
30
- - name : Upload coverage to Codecov
31
- uses : codecov/codecov-action@v1
32
- with :
33
- file : ./cov/coverage.xml
34
- name : codecov-umbrella
35
- fail_ci_if_error : true
36
30
Original file line number Diff line number Diff line change @@ -5,15 +5,16 @@ docker_host_dev:
5
5
python_tests :
6
6
python -m unittest discover tests
7
7
docker_test :
8
- docker-compose -f docker-compose.test.yml up --build --remove-orphans --no-color --abort-on-container-exit mentorship_system_test
8
+ docker-compose -f docker-compose.test.yml up --build --remove-orphans --abort-on-container-exit mentorship_system_test
9
9
docker_dev :
10
10
docker-compose up --build --remove-orphans
11
11
generate_cov :
12
12
pip install pytest
13
13
pip install pytest-cov
14
14
pytest --cov-config=.coveragerc
15
- pytest --cov=/cov --cov-report=xml
16
-
15
+ pytest --cov=./ --cov-report=xml
16
+ apt install curl
17
+ curl -s https://codecov.io/bash
17
18
18
19
19
20
Original file line number Diff line number Diff line change @@ -12,12 +12,9 @@ services:
12
12
mentorship_system_test :
13
13
container_name : mentorship_system_test
14
14
build : .
15
- volumes :
16
- - /cov:/cov
17
15
depends_on :
18
16
- test_postgres
19
17
environment :
20
18
FLASK_ENVIRONMENT_CONFIG : test
21
19
command :
22
- - generate_cov
23
-
20
+ - generate_cov
You can’t perform that action at this time.
0 commit comments