mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Validate new relic config in github actions
This commit is contained in:
13
.github/workflows/checks.yml
vendored
13
.github/workflows/checks.yml
vendored
@@ -32,6 +32,19 @@ jobs:
|
|||||||
- name: Run py tests
|
- name: Run py tests
|
||||||
run: pipenv run pytest -n4 --maxfail=10
|
run: pipenv run pytest -n4 --maxfail=10
|
||||||
|
|
||||||
|
validate-new-relic-config:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
environment: staging
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: ./.github/actions/setup-project
|
||||||
|
- name: Validate NewRelic config
|
||||||
|
env:
|
||||||
|
NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
|
||||||
|
# Need to set a NEW_RELIC_ENVIRONMENT with monitor_mode: true
|
||||||
|
NEW_RELIC_ENVIRONMENT: staging
|
||||||
|
run: pipenv run newrelic-admin validate-config $NEW_RELIC_CONFIG_FILE
|
||||||
|
|
||||||
dependency-audits:
|
dependency-audits:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user