amrex-tutorials icon indicating copy to clipboard operation
amrex-tutorials copied to clipboard

change to test some functionality

Open etpalmer63 opened this issue 2 years ago • 41 comments

Try typing "Do.Tests" to initiate tests on this repo.

etpalmer63 avatar Jun 24 '22 19:06 etpalmer63

    Do.Tests  

WeiqunZhang avatar Jun 24 '22 19:06 WeiqunZhang

I intentionally inserted a number of spaces before and after Do.Tests. Would this comment trigger testing too?

WeiqunZhang avatar Jun 24 '22 19:06 WeiqunZhang

Looks like that one didn't work

etpalmer63 avatar Jun 24 '22 19:06 etpalmer63

Do.Tests How after space after it?

WeiqunZhang avatar Jun 24 '22 19:06 WeiqunZhang

I think the comment needs to be "Do.Tests" and nothing else, but let me double check

etpalmer63 avatar Jun 24 '22 19:06 etpalmer63

What about new lines by Enter?

WeiqunZhang avatar Jun 24 '22 19:06 WeiqunZhang

So what exactly is the match syntax?

WeiqunZhang avatar Jun 24 '22 19:06 WeiqunZhang

Do.Tests

WeiqunZhang avatar Jun 24 '22 19:06 WeiqunZhang

The comment needs to be exactly "Do.Tests" and nothing else --> github.event.comment.body == env.TRIGGER_STRING

etpalmer63 avatar Jun 24 '22 19:06 etpalmer63

Do.Tests

WeiqunZhang avatar Jun 24 '22 19:06 WeiqunZhang

Initiated Cori Compilation

github-actions[bot] avatar Jun 24 '22 19:06 github-actions[bot]

Seems to work

WeiqunZhang avatar Jun 24 '22 19:06 WeiqunZhang

From here it's taking about 20 mins to complete the CI.

etpalmer63 avatar Jun 24 '22 19:06 etpalmer63

I have concerns about how it could break .. I use the PR comment to find the branch, so if there are a lot of comments at once, I'm worried it might grab the wrong one. I'm also concerned about triggering it multiple times before it finishes the previous task.

I have been looking for some example bots to see how they handle these things but haven't found a good example yet.

etpalmer63 avatar Jun 24 '22 19:06 etpalmer63

HeatEquation -- Cori Compile Success

etpalmer63 avatar Jun 24 '22 19:06 etpalmer63

CNS_SOD -- Cori Compile Success

etpalmer63 avatar Jun 24 '22 20:06 etpalmer63

CNS_RT -- Cori Compile Success

etpalmer63 avatar Jun 24 '22 20:06 etpalmer63

I'd also like to comment on this PR ...

asalmgren avatar Jun 24 '22 20:06 asalmgren

Do.Tests

asalmgren avatar Jun 24 '22 20:06 asalmgren

Do.Tests

etpalmer63 avatar Jun 24 '22 20:06 etpalmer63

Initiated Cori Compilation

github-actions[bot] avatar Jun 24 '22 20:06 github-actions[bot]

HeatEquation -- Cori Compile Success

etpalmer63 avatar Jun 24 '22 21:06 etpalmer63

CNS_SOD -- Cori Compile Success

etpalmer63 avatar Jun 24 '22 21:06 etpalmer63

CNS_RT -- Cori Compile Success

etpalmer63 avatar Jun 24 '22 21:06 etpalmer63

Test

etpalmer63 avatar Jun 24 '22 21:06 etpalmer63

Test

etpalmer63 avatar Jun 24 '22 21:06 etpalmer63

Do.Tests

atmyers avatar Jun 27 '22 19:06 atmyers

Tests Initiated.

github-actions[bot] avatar Jun 27 '22 19:06 github-actions[bot]

HeatEquation -- Cori Compile Success

etpalmer63 avatar Jun 27 '22 19:06 etpalmer63

Do.Tests

etpalmer63 avatar Jun 27 '22 19:06 etpalmer63