Sha256: f26369bff0840aa31efeb78cf3b02483a669d238b83e600951d4eb0fcd50c9a5

Contents?: true

Size: 890 Bytes

Versions: 7

Compression:

Stored size: 890 Bytes

Contents

name: App tests

on:
  push:
    branches:
      - main
      - staging
  pull_request:

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v2
      - name: Cancel previous Workflow Actions
        uses: styfle/cancel-workflow-action@0.6.0
        with:
          access_token: ${{ github.token }}
      - name: download docker-compose cache
        run: docker-compose pull
      - uses: satackey/action-docker-layer-caching@v0.0.11 # Cache or restore docker cache
        continue-on-error: true # Ignore the failure of a step and avoid terminating the job.
        with:
          key: app-cache-${{ hashFiles('Dockerfile') }}

      - name: Run rspec test
        run: docker-compose run test /bin/sh -c "bundle install && rspec"
      - name: Check codestyle
        run: docker-compose run test /bin/sh -c "rubocop"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
activestorage-delayed-0.3.0 .github/workflows/ruby.yml
activestorage-delayed-0.2.0 .github/workflows/ruby.yml
activestorage-delayed-0.2.0.pre.pre .github/workflows/ruby.yml
activestorage-delayed-0.1.4 .github/workflows/ruby.yml
activestorage-delayed-0.1.3 .github/workflows/ruby.yml
activestorage-delayed-0.1.2 .github/workflows/ruby.yml
activestorage-delayed-0.1.1 .github/workflows/ruby.yml