Rescue invalid signature and use session for purpose #601
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- main | |
jobs: | |
ruby_test: | |
name: Ruby Test Action | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: ['3.0', '3.1', '3.2', '3.3'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
cache: 'npm' | |
- name: NPM Install | |
run: 'npm install --legacy-peer-deps' | |
- name: Install Playwright Browsers | |
run: 'npx playwright install chromium --with-deps' | |
- name: Run Unit Tests | |
run: | | |
bundle exec rails db:schema:load RAILS_ENV=test | |
bundle exec rails test | |
- name: Run System Tests | |
run: | | |
bundle exec rails db:schema:load RAILS_ENV=test | |
bundle exec rails test:system |