Sha256: e8012b297449d45be30ef27250c9e85d9b160274aa7862a0a214ae0f5cad775a

Contents?: true

Size: 1.17 KB

Versions: 19

Compression:

Stored size: 1.17 KB

Contents

name: Testing

on:
  push:
    branches:
      - '*'
      - '!master'

jobs:
  test:
    name: Testing
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest]
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-ruby@v1
        with:
          ruby-version: 2.6.x
      - name: Install dependencies
        run: |
          gem install bundler
          bundler install
      - name: Run tests
        run: bundle exec rspec spec --pattern **/spec_*.rb

      - name: Notify slack success
        if: success()
        env:
          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
        uses: voxmedia/github-action-slack-notify-build@v1.1.1
        with:
          message_id: ${{ steps.slack.outputs.message_id }}
          channel: github-actions
          status: SUCCESS
          color: good

      - name: Notify slack fail
        if: failure()
        env:
          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
        uses: voxmedia/github-action-slack-notify-build@v1.1.1
        with:
          message_id: ${{ steps.slack.outputs.message_id }}
          channel: github-actions
          status: FAILED
          color: danger

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
securenative-0.1.39 .github/workflows/test.yml
securenative-0.1.38 .github/workflows/test.yml
securenative-0.1.37 .github/workflows/test.yml
securenative-0.1.36 .github/workflows/test.yml
securenative-0.1.35 .github/workflows/test.yml
securenative-0.1.34 .github/workflows/test.yml
securenative-0.1.33 .github/workflows/test.yml
securenative-0.1.32 .github/workflows/test.yml
securenative-0.1.31 .github/workflows/test.yml
securenative-0.1.30 .github/workflows/test.yml
securenative-0.1.28 .github/workflows/test.yml
securenative-0.1.27 .github/workflows/test.yml
securenative-0.1.26 .github/workflows/test.yml
securenative-0.1.24 .github/workflows/test.yml
securenative-0.1.23 .github/workflows/test.yml
securenative-0.1.22 .github/workflows/test.yml
securenative-0.1.21 .github/workflows/test.yml
securenative-0.1.20 .github/workflows/test.yml
securenative-0.1.18 .github/workflows/test.yml