Skip to content

Commit c7258d6

Browse files
committed
Update main.yml
1 parent 44993e7 commit c7258d6

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,4 @@ jobs:
2727
run: |
2828
make docker_test
2929
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
3630

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@ docker_host_dev:
55
python_tests:
66
python -m unittest discover tests
77
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
99
docker_dev:
1010
docker-compose up --build --remove-orphans
1111
generate_cov:
1212
pip install pytest
1313
pip install pytest-cov
1414
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
1718

1819

1920

docker-compose.test.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,9 @@ services:
1212
mentorship_system_test:
1313
container_name: mentorship_system_test
1414
build: .
15-
volumes:
16-
- /cov:/cov
1715
depends_on:
1816
- test_postgres
1917
environment:
2018
FLASK_ENVIRONMENT_CONFIG: test
2119
command:
22-
- generate_cov
23-
20+
- generate_cov

0 commit comments

Comments
 (0)