Skip to content

Commit

Permalink
first part
Browse files Browse the repository at this point in the history
  • Loading branch information
dtuchs committed Oct 17, 2024
1 parent 0c8ea60 commit 66d3f13
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: e2e

on:
pull_request:
types: [opened, reopened, synchronize]

jobs:
e2e:
runs-on: ubuntu-latest
env:
ARCH: amd64
steps:
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Checkout code
uses: actions/checkout@v4
- name: Build backend
run: |
bash ./gradlew jibDockerBuild -x :rococo-e2e:test
docker image ls
3 changes: 3 additions & 0 deletions rococo-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jib {
}
}

tasks.jib.dependsOn test
tasks.jibDockerBuild.dependsOn test

tasks.named('test') {
useJUnitPlatform()
}

0 comments on commit 66d3f13

Please sign in to comment.