-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (35 loc) · 1.5 KB
/
testing.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
34
35
36
37
38
39
40
41
42
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
name: testing
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml -Dmctf.report.dir=latest
- name: Save flow execution reports
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
id: artifact-upload-step
if: success() || failure()
with:
name: flow_execution_reports
path: |
app/target/mctf/latest
test/target/mctf/browser/latest
- name: Emit artifact links
if: success() || failure()
run: |
echo " * [bowlby isolation testing](https://bowlby.flowty.dev/self/artifacts/therealryan/bowlby/${{ steps.artifact-upload-step.outputs.artifact-id }}/app/target/mctf/latest/index.html)" >> $GITHUB_STEP_SUMMARY
echo " * [browser isolation testing](https://bowlby.flowty.dev/self/artifacts/therealryan/bowlby/${{ steps.artifact-upload-step.outputs.artifact-id }}/test/target/mctf/browser/latest/index.html)" >> $GITHUB_STEP_SUMMARY