Skip to content

Test Action from fork #48

Test Action from fork

Test Action from fork #48

name: Check MPI_COMM_WORLD
on:
pull_request:
pull_request_target:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 # this line fetches the complete history
- name: Install dependencies
run: |
pip install gitpython
- name: Search for MPI_COMM_WORLD in modified lines
env:
BASE_REF: origin/${{ github.event.pull_request.base.ref }}
HEAD_REF: ${{ github.event.pull_request.head.sha }}
run: |
python ./sampleScripts/check-mpi-comm-world-usage.py