Sha256: fc8e736e0421e1c5c064b8d6f23fdbffb8a03f78c8518966e2e475b184b1552e
Contents?: true
Size: 1.45 KB
Versions: 2
Compression:
Stored size: 1.45 KB
Contents
name: Integration Tests on: push jobs: check-slack-api-token: runs-on: ubuntu-latest outputs: SLACK_API_TOKEN_EXISTS: ${{ steps.check-slack-api-token.outputs.SLACK_API_TOKEN_EXISTS }} steps: - name: Check for SLACK_API_TOKEN availability id: check-slack-api-token shell: bash run: | if [ "${{ secrets.SLACK_API_TOKEN }}" != '' ]; then echo "SLACK_API_TOKEN_EXISTS=true" >> $GITHUB_OUTPUT; else echo "SLACK_API_TOKEN_EXISTS=false" >> $GITHUB_OUTPUT; fi test: runs-on: ubuntu-latest needs: [check-slack-api-token] if: needs.check-slack-api-token.outputs.SLACK_API_TOKEN_EXISTS == 'true' strategy: matrix: entry: - { ruby: 2.7, concurrency: async-websocket } name: test (ruby=${{ matrix.entry.ruby }}, concurrency=${{ matrix.entry.concurrency || 'none' }}) steps: - name: Checkout uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.entry.ruby }} bundler-cache: true - name: Run Tests env: CONCURRENCY: ${{ matrix.entry.concurrency }} SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }} RACK_ENV: test SPEC: "--pattern spec/**/integration/*_spec.rb" SPEC_OPTS: "--pattern spec/**/integration/*_spec.rb" run: | bundle install bundle exec rake
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-2.2.0 | .github/workflows/integration_test.yml |
slack-ruby-client-2.1.0 | .github/workflows/integration_test.yml |