Skip to content

Commit

Permalink
Remove other test for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Bramjetten committed Oct 8, 2024
1 parent 3504aad commit c74906d
Showing 1 changed file with 1 addition and 39 deletions.
40 changes: 1 addition & 39 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ on:
branches: [ main ]

jobs:
test-postgresql:
name: Test on PostgreSQL
test:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -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/*

0 comments on commit c74906d

Please sign in to comment.