Skip to content

Commit

Permalink
initial attempt workflow for reqcheckscript
Browse files Browse the repository at this point in the history
  • Loading branch information
efeyazgan committed Jan 11, 2024
1 parent 427e3c2 commit 8ba68c3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ jobs:
filters: |
powheg1:
- 'bin/Powheg/**'
workflow:
- '.github/workflows/**'
- name: Build gridpack
if: steps.changes.outputs.powheg1 == 'true'
if: steps.changes.outputs.powheg1 == 'true' || steps.changes.outputs.workflow 'true'
uses: nick-fields/retry@v2
with:
max_attempts: 5
Expand All @@ -62,7 +64,7 @@ jobs:
command: docker run --rm -v /cvmfs:/cvmfs -v $PWD:$PWD -w $PWD gitlab-registry.cern.ch/cms-cloud/cmssw-docker/cc7-cms bash bin/Powheg/test/test_build.sh -r ${{ matrix.cmssw_release }} -a ${{ matrix.scram_arch }} -p ${{ matrix.proc }}

- name: Check pwg-stat.dat
if: steps.changes.outputs.powheg1 == 'true'
if: steps.changes.outputs.powheg1 == 'true' || steps.changes.outputs.workflow 'true'
run: git diff --exit-code bin/Powheg/test/pwg-stat.dat.${{ matrix.proc }}_${{ matrix.scram_arch }}_${{ matrix.cmssw_release }}

- name: Create Pull Request
Expand Down Expand Up @@ -91,9 +93,11 @@ jobs:
filters: |
bin:
- 'bin/utils/**'
workflow:
- '.github/workflows/**'
- name: Run the request checking script on local mcm requests
shell: python
if: steps.changes.outputs.bin == 'true'
if: steps.changes.outputs.bin == 'true' || steps.changes.outputs.workflow == 'true'
run: |
python3 bin/utils/request_fragment_check.py --bypass_status --develop --local --prepid GEN-Run3Summer22EEwmLHEGS-00226
python3 bin/utils/request_fragment_check.py --bypass_status --develop --local --prepid GEN-Run3Summer22EEwmLHEGS-00118
Expand Down

0 comments on commit 8ba68c3

Please sign in to comment.