Update .github/integration_tests/compliant_repo.sh #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow to run integration tests | |
# Checks that check_new_repo workflow works as expected | |
name: Compliance Integration Tests | |
on: | |
push: | |
branches-ignore: | |
- integration-test-* | |
paths: | |
- .github/custom_python_actions/check_compliance.py | |
- .github/custom_python_actions/check_external_contrib.py | |
- .github/tests/test_compliance_checks.py | |
- .github/tests/test_check_external_contrib.py | |
- .github/workflows/check_existing_repo.yml | |
- .github/workflows/check_new_repo.yml | |
- .github/workflows/compliance_integration_tests.yml | |
- .github/integration_tests/compliant_repo.sh | |
- .github/integration_tests/nonexistent_repo.sh | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
compliance-integration-test-nonexistant-repo: | |
name: Integration Test Nonexistant repo | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Integration Test | |
run: | | |
${GITHUB_WORKSPACE}/.github/integration_tests/nonexistent_repo.sh | |
env: | |
GH_TOKEN: ${{ secrets.INTEGRATION_TESTS_RUN_WORKFLOW }} | |
RUN_NUMBER: ${{ github.run_number }} | |
compliance-integration-test-compliant-repo: | |
name: Integration Test Compliant Repo | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Integration Test | |
run: | | |
${GITHUB_WORKSPACE}/.github/integration_tests/compliant_repo.sh | |
env: | |
GH_TOKEN: ${{ secrets.INTEGRATION_TESTS_RUN_WORKFLOW }} | |
RUN_NUMBER: ${{ github.run_number }} |