mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-19 14:03:52 -04:00
clean up Makefile and checks.yml
This commit is contained in:
25
.github/workflows/checks.yml
vendored
25
.github/workflows/checks.yml
vendored
@@ -89,31 +89,6 @@ jobs:
|
||||
- uses: ./.github/actions/setup-project
|
||||
- uses: jwalton/gh-find-current-pr@v1
|
||||
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
|
||||
run: |
|
||||
curl --fail -v https://notify-api-staging.app.cloud.gov || exit 1
|
||||
|
||||
2
Makefile
2
Makefile
@@ -88,7 +88,7 @@ dead-code: ## 60% is our aspirational goal, but currently breaks the build
|
||||
.PHONY: e2e-test
|
||||
e2e-test: export NEW_RELIC_ENVIRONMENT=test
|
||||
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
|
||||
js-lint: ## Run javascript linting scanners
|
||||
|
||||
Reference in New Issue
Block a user