Validate new relic config in github actions

This commit is contained in:
Ryan Ahearn
2023-01-23 10:02:26 -05:00
parent 23f6f3c726
commit c622b61bcd

View File

@@ -32,6 +32,19 @@ jobs:
- name: Run py tests
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:
runs-on: ubuntu-latest
steps: