mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 02:23:19 -04:00
clean up Makefile and checks.yml
This commit is contained in:
@@ -89,31 +89,6 @@ jobs:
|
|||||||
- uses: ./.github/actions/setup-project
|
- uses: ./.github/actions/setup-project
|
||||||
- uses: jwalton/gh-find-current-pr@v1
|
- uses: jwalton/gh-find-current-pr@v1
|
||||||
id: findPr
|
id: findPr
|
||||||
#- name: Clone API
|
|
||||||
# uses: actions/checkout@v4
|
|
||||||
# with:
|
|
||||||
# repository: GSA/notifications-api
|
|
||||||
# path: 'notifications-api'
|
|
||||||
# - name: Install API dependencies
|
|
||||||
# working-directory: 'notifications-api'
|
|
||||||
# run: make bootstrap
|
|
||||||
# env:
|
|
||||||
# DATABASE_URL: postgresql://user:password@localhost:5432/test_notification_api
|
|
||||||
# SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
|
||||||
# REDIS_URL: redis://localhost:6379
|
|
||||||
# NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
|
||||||
# NOTIFY_E2E_TEST_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_PASSWORD }}
|
|
||||||
# NOTIFY_ENVIRONMENT: development
|
|
||||||
#- name: Run API server
|
|
||||||
# working-directory: 'notifications-api'
|
|
||||||
# run: make run-procfile &
|
|
||||||
# env:
|
|
||||||
# DATABASE_URL: postgresql://user:password@localhost:5432/test_notification_api
|
|
||||||
# SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
|
||||||
# REDIS_URL: redis://localhost:6379
|
|
||||||
# NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
|
||||||
# NOTIFY_E2E_TEST_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_PASSWORD }}
|
|
||||||
# NOTIFY_ENVIRONMENT: development
|
|
||||||
- name: Check API Server availability
|
- name: Check API Server availability
|
||||||
run: |
|
run: |
|
||||||
curl --fail -v https://notify-api-staging.app.cloud.gov || exit 1
|
curl --fail -v https://notify-api-staging.app.cloud.gov || exit 1
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ dead-code: ## 60% is our aspirational goal, but currently breaks the build
|
|||||||
.PHONY: e2e-test
|
.PHONY: e2e-test
|
||||||
e2e-test: export NEW_RELIC_ENVIRONMENT=test
|
e2e-test: export NEW_RELIC_ENVIRONMENT=test
|
||||||
e2e-test: ## Run end-to-end integration tests; note that --browser webkit isn't currently working
|
e2e-test: ## Run end-to-end integration tests; note that --browser webkit isn't currently working
|
||||||
DEBUG=pw:api,pw:browser poetry run pytest -vv --browser chromium tests/end_to_end
|
DEBUG=pw:api,pw:browser poetry run pytest -vv --browser chromium --browser firefox tests/end_to_end
|
||||||
|
|
||||||
.PHONY: js-lint
|
.PHONY: js-lint
|
||||||
js-lint: ## Run javascript linting scanners
|
js-lint: ## Run javascript linting scanners
|
||||||
|
|||||||
Reference in New Issue
Block a user