mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 08:28:15 -04:00
Remove coveralls
We aren't using it
This commit is contained in:
13
Makefile
13
Makefile
@@ -115,10 +115,6 @@ test-requirements:
|
|||||||
echo "Run 'make freeze-requirements' to update."; exit 1; } \
|
echo "Run 'make freeze-requirements' to update."; exit 1; } \
|
||||||
|| { echo "requirements.txt is up to date"; exit 0; }
|
|| { echo "requirements.txt is up to date"; exit 0; }
|
||||||
|
|
||||||
.PHONY: coverage
|
|
||||||
coverage: ## Create coverage report
|
|
||||||
coveralls
|
|
||||||
|
|
||||||
.PHONY: prepare-docker-build-image
|
.PHONY: prepare-docker-build-image
|
||||||
prepare-docker-build-image: ## Prepare the Docker builder image
|
prepare-docker-build-image: ## Prepare the Docker builder image
|
||||||
make -C docker build
|
make -C docker build
|
||||||
@@ -137,8 +133,6 @@ define run_docker_container
|
|||||||
-e https_proxy="${HTTPS_PROXY}" \
|
-e https_proxy="${HTTPS_PROXY}" \
|
||||||
-e HTTPS_PROXY="${HTTPS_PROXY}" \
|
-e HTTPS_PROXY="${HTTPS_PROXY}" \
|
||||||
-e NO_PROXY="${NO_PROXY}" \
|
-e NO_PROXY="${NO_PROXY}" \
|
||||||
-e COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} \
|
|
||||||
-e CIRCLECI=1 \
|
|
||||||
-e CI_NAME=${CI_NAME} \
|
-e CI_NAME=${CI_NAME} \
|
||||||
-e CI_BUILD_NUMBER=${BUILD_NUMBER} \
|
-e CI_BUILD_NUMBER=${BUILD_NUMBER} \
|
||||||
-e CI_BUILD_URL=${BUILD_URL} \
|
-e CI_BUILD_URL=${BUILD_URL} \
|
||||||
@@ -161,18 +155,13 @@ build-with-docker: prepare-docker-build-image ## Build inside a Docker container
|
|||||||
test-with-docker: prepare-docker-build-image ## Run tests inside a Docker container
|
test-with-docker: prepare-docker-build-image ## Run tests inside a Docker container
|
||||||
$(call run_docker_container,test,gosu hostuser make test)
|
$(call run_docker_container,test,gosu hostuser make test)
|
||||||
|
|
||||||
# FIXME: CIRCLECI=1 is an ugly hack because the coveralls-python library sends the PR link only this way
|
|
||||||
.PHONY: coverage-with-docker
|
|
||||||
coverage-with-docker: prepare-docker-build-image ## Generates coverage report inside a Docker container
|
|
||||||
$(call run_docker_container,coverage,gosu hostuser make coverage)
|
|
||||||
|
|
||||||
.PHONY: clean-docker-containers
|
.PHONY: clean-docker-containers
|
||||||
clean-docker-containers: ## Clean up any remaining docker containers
|
clean-docker-containers: ## Clean up any remaining docker containers
|
||||||
docker rm -f $(shell docker ps -q -f "name=${DOCKER_CONTAINER_PREFIX}") 2> /dev/null || true
|
docker rm -f $(shell docker ps -q -f "name=${DOCKER_CONTAINER_PREFIX}") 2> /dev/null || true
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf node_modules cache target .coverage
|
rm -rf node_modules cache target
|
||||||
|
|
||||||
.PHONY: cf-login
|
.PHONY: cf-login
|
||||||
cf-login: ## Log in to Cloud Foundry
|
cf-login: ## Log in to Cloud Foundry
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ pytest-env==0.6.2
|
|||||||
pytest-cov==2.8.1
|
pytest-cov==2.8.1
|
||||||
pytest-mock==1.11.2
|
pytest-mock==1.11.2
|
||||||
pytest-xdist==1.27.0 # pyup: <1.28.0
|
pytest-xdist==1.27.0 # pyup: <1.28.0
|
||||||
coveralls==1.8.2
|
|
||||||
beautifulsoup4==4.8.1
|
beautifulsoup4==4.8.1
|
||||||
freezegun==0.3.12
|
freezegun==0.3.12
|
||||||
flake8==3.7.9
|
flake8==3.7.9
|
||||||
|
|||||||
Reference in New Issue
Block a user