Skip to content

Commit d13414d

Browse files
committed
test workflow
1 parent fe347da commit d13414d

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

.github/workflows/lcm-integration-e2e.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,22 @@ jobs:
3030
with:
3131
submodules: 'true'
3232
token: ${{ secrets.TOKEN_GITHUB_YENKINS }}
33-
- name: Build local image
33+
- name: Set up JDK (required for JRuby)
34+
uses: actions/setup-java@v4
35+
with:
36+
distribution: temurin
37+
java-version: '11'
38+
- name: Set up JRuby + Bundler
39+
uses: ruby/setup-ruby@v1
40+
with:
41+
ruby-version: 'jruby-9.4.12.1'
42+
bundler-cache: true
43+
- name: Build image
3444
run: |
35-
bundle exec rake -f lcm.rake test:docker:build
45+
bundle exec rake -f lcm.rake docker:build
3646
- name: Build gems
3747
run: |
38-
bundle exec rake -f lcm.rake test:docker:bundle
48+
bundle exec rake -f lcm.rake docker:bundle
3949
- name: Run integrated tests
4050
run: |
4151
bundle exec rake -f lcm.rake test:docker:integration-e2e

.github/workflows/test.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Quick and Dirty lcm runner
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
call-e2e:
7+
uses: ./.github/workflows/lcm-integration-e2e.yaml
8+
secrets: inherit
9+
permissions:
10+
id-token: write
11+
contents: read
12+
with:
13+
AUTO_MERGE: true
14+
base_branch: main
15+
pr_number: "123"
16+

0 commit comments

Comments
 (0)