Skip to content

Commit 6ecee01

Browse files
committed
ci: add unit tests to the upstream workflow
because the authentication template is only on rails edge
1 parent f92f025 commit 6ecee01

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/upstream.yml

+21-2
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,39 @@ on:
1414
- .github/workflows/upstream.yml # this file
1515

1616
jobs:
17+
tests:
18+
name: "tests (rails main)"
19+
runs-on: ubuntu-latest
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
ruby: ["3.3"]
24+
env:
25+
RAILSOPTS: --git=https://github.com/rails/rails --branch main
26+
steps:
27+
- uses: actions/checkout@v4
28+
- run: rm Gemfile.lock
29+
- uses: ruby/setup-ruby@v1
30+
with:
31+
ruby-version: ${{matrix.ruby}}
32+
bundler: latest
33+
- name: Run tests
34+
run: bin/test
35+
1736
user-journey:
1837
name: "user-journey (rails main)"
38+
runs-on: ${{matrix.plat}}-latest
1939
strategy:
2040
fail-fast: false
2141
matrix:
2242
plat: ["ubuntu", "windows", "macos"]
23-
runs-on: ${{matrix.plat}}-latest
2443
env:
2544
RAILSOPTS: --git=https://github.com/rails/rails --branch main
2645
steps:
2746
- uses: actions/checkout@v4
2847
- uses: ruby/setup-ruby@v1
2948
with:
30-
ruby-version: "3.2"
49+
ruby-version: "3.3"
3150
bundler: latest
3251
- run: test/integration/user_journey_test.sh
3352
shell: bash

0 commit comments

Comments
 (0)