Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ jobs:
test:
name: Test
needs: [build]
uses: codecov/gha-workflows/.github/workflows/[email protected].29
uses: codecov/gha-workflows/.github/workflows/[email protected].30
secrets: inherit
with:
run_integration: false
repo: ${{ vars.CODECOV_IMAGE_V2 || 'codecov/self-hosted-api' }}

build-self-hosted:
Expand Down
15 changes: 0 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ test_env.install_cli:

test_env.container_prepare:
apt-get -y install git build-essential netcat-traditional
make test_env.install_cli
git config --global --add safe.directory /app

test_env.container_check_db:
Expand All @@ -230,20 +229,6 @@ test_env.run_integration:
test_env.check-for-migration-conflicts:
docker-compose exec api python manage.py check_for_migration_conflicts

test_env.upload:
docker-compose exec api make test_env.container_upload CODECOV_UPLOAD_TOKEN=${CODECOV_UPLOAD_TOKEN} CODECOV_URL=${CODECOV_URL}
docker-compose exec api make test_env.container_upload_test_results CODECOV_UPLOAD_TOKEN=${CODECOV_UPLOAD_TOKEN} CODECOV_URL=${CODECOV_URL}

test_env.container_upload:
codecovcli -u ${CODECOV_URL} upload-process --flag unit-latest-uploader --flag unit \
--coverage-files-search-exclude-folder=graphql_api/types/** \
--coverage-files-search-exclude-folder=api/internal/tests/unit/views/cassetes/**

test_env.container_upload_test_results:
codecovcli -u ${CODECOV_URL} do-upload --report-type "test_results" \
--files-search-exclude-folder=graphql_api/types/** \
--files-search-exclude-folder=api/internal/tests/unit/views/cassetes/** || true

test_env.static_analysis:
docker-compose exec api make test_env.container_static_analysis CODECOV_STATIC_TOKEN=${CODECOV_STATIC_TOKEN}

Expand Down