Skip to content

introduce specialized view for rails 8 authentication generator #384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: add unit tests to the upstream workflow
because the authentication template is only on rails edge
  • Loading branch information
flavorjones committed Jul 30, 2024
commit 381446b2405dbbf028c3afcd8606de700400b7e5
26 changes: 24 additions & 2 deletions .github/workflows/upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,42 @@ on:
- .github/workflows/upstream.yml # this file

jobs:
tests:
name: "tests (rails main)"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ["3.3"]
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
- run: |
rm Gemfile.lock
bundle remove actionmailer
git clone --depth 1 --branch main https://github.com/rails/rails
bundle add actionmailer --path=rails
bundle add railties --path=rails
bundle install
- name: Run tests
run: bin/test

user-journey:
name: "user-journey (rails main)"
runs-on: ${{matrix.plat}}-latest
strategy:
fail-fast: false
matrix:
plat: ["ubuntu", "windows", "macos"]
runs-on: ${{matrix.plat}}-latest
env:
RAILSOPTS: --git=https://github.com/rails/rails --branch main
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
ruby-version: "3.3"
bundler: latest
- run: test/integration/user_journey_test.sh
shell: bash