diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index f83df351b..7086daf22 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -7,8 +7,7 @@ on: branches: [ main ] jobs: - test-postgresql: - name: Test on PostgreSQL + test: runs-on: ubuntu-latest strategy: matrix: @@ -68,40 +67,3 @@ jobs: run: ./cc-test-reporter after-build -r ${{ secrets.CodeClimate }} if: github.ref == 'refs/heads/main' - test-sqlite: - name: Test on SQLite - runs-on: ubuntu-latest - strategy: - matrix: - ruby-version: ['3.3'] - steps: - - uses: actions/checkout@v2 - - - name: Install libvips - run: sudo apt-get install -y libvips - - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby-version }} - bundler-cache: true - - - name: Install dependencies - run: bundle install - - - name: Create DB - env: - RAILS_ENV: test - run: | - cp test/dummy/config/database.yml.sqlite test/dummy/config/database.yml - bin/rails db:setup - - - name: Compile assets - env: - RAILS_ENV: test - run: bin/rails app:assets:precompile - - - name: Run tests - env: - RAILS_ENV: test - run: bin/rails test test/*