Sha256: d57ee695ebb340b678d0ecd3be4013ee0d11f6f23fa81bfd59884cb9c4121fe2
Contents?: true
Size: 1.75 KB
Versions: 1
Compression:
Stored size: 1.75 KB
Contents
name: Test on: push: branches: [main] pull_request: branches: [main] permissions: contents: read jobs: test: strategy: matrix: ruby: ['2.7', '3.0', '3.1', '3.2', '3.3'] postgres: ['16-bullseye', '15-bullseye', '14-bullseye', '13-bullseye', '12-bullseye'] name: Ruby ${{ matrix.ruby }} - PostgreSQL ${{ matrix.postgres }} # https://docs.github.com/en/actions/learn-github-actions/expressions#example runs-on: ${{ matrix.ruby == '2.7' && 'ubuntu-20.04' || 'ubuntu-latest' }} services: postgres: image: postgres:${{ matrix.postgres }} env: POSTGRES_USER: ubuntu POSTGRES_DB: handcuffs_test POSTGRES_HOST_AUTH_METHOD: trust options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 ports: - 5432:5432 env: PGHOST: localhost PGUSER: ubuntu RAILS_ENV: test BUNDLER_VERSION: 2.4.22 steps: - uses: actions/checkout@v4 - name: Set up Ruby ${{ matrix.ruby }} uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler: ${{ env.BUNDLER_VERSION }} bundler-cache: true - name: Installing dependencies run: bundle install && cd spec/dummy && bundle install - name: Install Apprasals Dependencies run: bundle exec appraisal install && cd spec/dummy && bundle exec appraisal install - name: Setup Database run: cd spec/dummy && bundle exec rake db:create db:migrate --trace - name: Run Appraisals Tests run: bundle exec appraisal rspec - name: Run Dummy App Tests run: cd spec/dummy && bundle exec appraisal bin/rspec
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
handcuffs-2.0.0 | .github/workflows/test.yaml |