Fix exception in ActionCable channel due to reflexes overwriting each… #1932
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: | |
javascript_test: | |
name: JavaScript Test Action | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [16, 18, 19, 20] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node v${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- name: Yarn install | |
run: yarn | |
- name: Run JavaScript Tests | |
run: yarn run test | |
ruby_test: | |
name: Ruby Test Action | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: [2.7, '3.0', 3.1, 3.2] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby v${{ matrix.ruby }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run ruby tests | |
run: bundle exec rake test_ruby |