Skip to content
Open

adsf #12

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
b050109
Create PrTests.yaml
trilinos-cicd Nov 9, 2023
f649313
test
triple3567 Nov 9, 2023
fcae605
Rename PrTests.yaml to PrTests.yml
trilinos-cicd Nov 9, 2023
2304faf
Update PrTests.yml
trilinos-cicd Nov 9, 2023
947bfa2
Update PrTests.yml
trilinos-cicd Nov 9, 2023
7605f50
Update PrTests.yml
trilinos-cicd Nov 9, 2023
520e489
f
triple3567 Nov 9, 2023
b12648e
Update test.txt
trilinos-cicd Nov 9, 2023
ee81a43
dsf
triple3567 Nov 13, 2023
a4832c5
Merge branch 'test' of https://github.com/trilinostesting/Trilinos in…
triple3567 Nov 13, 2023
c31a612
pr test yaml changes
triple3567 Nov 28, 2023
0883e1e
syntax fix
triple3567 Nov 28, 2023
a106542
Merge branch 'master' of https://github.com/trilinostesting/Trilinos …
triple3567 Nov 28, 2023
8a44691
dsf
triple3567 Nov 28, 2023
ddfdcfc
sdf
triple3567 Nov 28, 2023
d049931
Delete test.txt
trilinos-cicd Nov 30, 2023
06bac23
Merge pull request #5 from trilinostesting/test
trilinos-cicd Nov 30, 2023
2b985e2
sdf
triple3567 Nov 30, 2023
fa691c1
add force to disregard hostname
triple3567 Dec 1, 2023
81d119e
remove --force. need to fix hostname issue
triple3567 Dec 1, 2023
dc5fa57
add back force
triple3567 Dec 6, 2023
121614c
Update PrTests.yml
trilinos-cicd Jan 12, 2024
b4af158
Update PrTests.yml
triple3567 Jan 12, 2024
bb3506e
Update PrTests.yml
triple3567 Jan 13, 2024
717539c
Update PrTests.yml
triple3567 Jan 15, 2024
66c510a
Update PrTests.yml
trilinos-cicd Jan 16, 2024
b297f0f
Update PrTests.yml
trilinos-cicd Jan 16, 2024
ff319f9
Create test.txt
trilinos-cicd Jan 31, 2024
8dd6dc8
Merge pull request #9 from trilinostesting/test-3
triple3567 Feb 13, 2024
014d36b
adsf
triple3567 Apr 29, 2024
71a7922
dsaf
triple3567 Apr 29, 2024
a4cf910
debug
triple3567 Apr 29, 2024
2185f03
fix the mask
triple3567 Apr 29, 2024
de82548
dsaf
triple3567 Apr 29, 2024
a41bb57
add back clone
triple3567 Apr 29, 2024
158d360
debug
triple3567 Apr 29, 2024
6cf01cb
env var
triple3567 Apr 29, 2024
0a1fdfb
fix perms
triple3567 Apr 29, 2024
9b87422
fix trilinos example
triple3567 Apr 29, 2024
0ece095
fix
triple3567 Apr 29, 2024
db67925
debug
triple3567 Apr 29, 2024
1982d8c
fix
triple3567 Apr 29, 2024
d43a640
try again
triple3567 Apr 29, 2024
6f28cd6
add tests
triple3567 Apr 29, 2024
4be6625
dsafg
triple3567 Apr 29, 2024
b967e14
asdf
triple3567 Apr 29, 2024
4063c0a
egsdgf
triple3567 Apr 29, 2024
a446794
syntax error
triple3567 Apr 29, 2024
3513afa
asdf
triple3567 May 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/PrTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: pr-test-AT2

on:
pull_request:
types:
- opened
- synchronize
pull_request_review:
types:
- submitted
branches:
- master
- develop
workflow_dispatch:

jobs:
triloamd01-gcc:
runs-on: [self-hosted, triloamd01]
if: ${{ github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED' }}
steps:
- name: Clone trilinos
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: show output pass
run: |
./test-pass.sh
- name: show output fail
continue-on-error: true
run: |
./test-fail.sh
- name: mask output pass
run: |
./test-pass.sh > /dev/null 2>&1
- name: mask output fail
continue-on-error: true
run: |
./test-fail.sh > /dev/null 2>&1
- name: file write test
continue-on-error: true
run: |
./test-file-write.sh > /dev/null 2>&1
- name: cat file written
run: |
ls -l file.txt
- name: real world trilinos example
working-directory: ./packages/framework
run: |
source ~/.bash_profile && ./get_dependencies.sh --container > /dev/null 2>&1
7 changes: 7 additions & 0 deletions test-fail.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

echo "OUTPUT FAIL OUTPUT FAIL OUTPUT FAIL"
echo "OUTPUT FAIL OUTPUT FAIL OUTPUT FAIL"
echo "OUTPUT FAIL OUTPUT FAIL OUTPUT FAIL"

exit 1
9 changes: 9 additions & 0 deletions test-file-write.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

echo "WRITING FILE"

touch file.txt

echo "WROTE FILE"

exit 0
7 changes: 7 additions & 0 deletions test-pass.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

echo "OUTPUT PASS OUTPUT PASS OUTPUT PASS"
echo "OUTPUT PASS OUTPUT PASS OUTPUT PASS"
echo "OUTPUT PASS OUTPUT PASS OUTPUT PASS"

exit 0
1 change: 1 addition & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sdf