Do not trigger system testing on PRs that don't need it #822
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
name: nimibot_rhel_64 | |
on: | |
pull_request: | |
branches: | |
- master | |
- releases/* | |
paths: | |
- .github/workflows/github_actions_aws_rhel_python64.yml | |
- .github/actions/linux | |
- src | |
- generated | |
- tools | |
types: | |
- opened | |
- synchronize | |
- reopened | |
# Allows you to run this workflow manually from the Actions tab. | |
workflow_dispatch: | |
jobs: | |
do-the-job1: | |
name: system_test | |
if: github.repository == 'ni/nimi-python' | |
runs-on: | |
- self-hosted | |
- linux | |
- x64 | |
- rdss-nimibot-rhel-83-py64 | |
timeout-minutes: 40 | |
strategy: | |
matrix: | |
module_name: | |
- nidcpower | |
- nidmm | |
- nifgen | |
- nimodinst | |
- niscope | |
- niswitch | |
- nitclk | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
- name: execute system tests | |
uses: ./.github/actions/linux | |
with: | |
module_name: ${{ matrix.module_name }} | |
- name: upload coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
# See ../PUBLIC_CODECOV_TOKEN_README.md | |
token: 4c58f03d-b74c-489a-889a-ab0a77b7809f | |
flags: ${{ matrix.module_name }}systemtests | |
name: ${{ matrix.module_name }} | |
files: ./generated/${{ matrix.module_name }}/coverage.xml |