-
Notifications
You must be signed in to change notification settings - Fork 67
33 lines (30 loc) · 1.09 KB
/
run-special.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: PRRTE Special Builds Testing
on:
pull_request:
# We don't need this to be run on all types of PR behavior
# See
# - https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request
# - https://frontside.com/blog/2020-05-26-github-actions-pull_request
types:
- opened
- synchronize
- edited
- reopened
env:
# Use docker.io for Docker Hub if empty
REGISTRY: docker.io
# github.repository as <account>/<repo>
IMAGE_NAME: jjhursey/pmix-xver-tester
jobs:
special-builds:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out the code
uses: actions/checkout@v3
with:
submodules: recursive
# Run the container tester
- name: Special Builds
run: docker run --rm -v ${GITHUB_WORKSPACE}:/home/pmixer/prrte --env PR_TARGET_BRANCH=${GITHUB_BASE_REF} -w /home/pmixer/pmix-tests/ci-builds ${{ env.IMAGE_NAME }}:latest /bin/bash -c 'git pull && ./run-all-prrte.sh && echo SUCCESS'
shell: bash