feat: add test for notifications_muted
as filter in query_members
#239
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: test | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 1 | |
matrix: | |
ruby: ['2.7', '3.0', '3.1'] | |
name: π Ruby ${{ matrix.ruby }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # gives the commit linter access to previous commits | |
- name: Commit message linter | |
if: ${{ matrix.ruby == '2.7' }} | |
uses: wagoid/commitlint-github-action@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- run: bundle exec rake rubocop | |
if: ${{ matrix.ruby == '2.7' }} | |
- run: bundle exec srb tc | |
if: ${{ matrix.ruby == '2.7' }} | |
- run: bundle exec rspec ./spec --require spec_helper | |
env: | |
STREAM_KEY: ${{ secrets.STREAM_CHAT_API_KEY }} | |
STREAM_SECRET: ${{ secrets.STREAM_CHAT_API_SECRET }} |