Improve the state of debugging when things go wrong #888
Workflow file for this run
This file contains hidden or 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: CI | |
concurrency: | |
group: "${{github.workflow}}-${{github.ref}}" | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
tags: | |
- v*.*.* | |
pull_request: | |
types: [opened, synchronize] | |
branches: | |
- '*' | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["3.1", "3.2", "3.3", "3.4", "head"] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rm Gemfile.lock | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{matrix.ruby}} | |
bundler: latest | |
bundler-cache: true | |
- name: Run tests | |
run: bin/test | |
user-install: | |
strategy: | |
fail-fast: false | |
matrix: | |
plat: ["ubuntu", "windows", "macos"] | |
runs-on: ${{matrix.plat}}-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.4" | |
bundler: latest | |
- run: test/integration/user_install_test.sh | |
shell: bash | |
user-upgrade: | |
strategy: | |
fail-fast: false | |
matrix: | |
plat: ["ubuntu", "macos"] # TODO: on windows the tailwind upgrader tests are failing | |
runs-on: ${{matrix.plat}}-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.4" | |
bundler: latest | |
- run: test/integration/user_upgrade_test.sh | |
shell: bash |