Skip to content

Commit

Permalink
fix: CI test failed (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eth3rnit3 committed Jan 29, 2024
1 parent bdcfec3 commit 3d72d22
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -30,5 +31,12 @@ jobs:
- name: Run Rubocop
run: bundle exec rubocop

# # uncomment for debug
# - name: Setup upterm session
# uses: lhotari/action-upterm@v1
# with:
# limit-access-to-actor: true
# limit-access-to-users: ${{ github.repository_owner }}

- name: Run Tests
run: bin/test
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[![Publish on RubyGems](https://github.com/Eth3rnit3/administrate-tailwind-theme/actions/workflows/gem-push.yml/badge.svg)](https://github.com/Eth3rnit3/administrate-tailwind-theme/actions/workflows/gem-push.yml)

## Introduction
![AdministrateTailwindTheme](images/screenshot.png)
`administrate_tailwind_theme` is a custom theme gem for the [Administrate](https://github.com/thoughtbot/administrate) gem, utilizing the [Tailwind CSS](https://tailwindcss.com/) framework. This gem revamps all views to use Tailwind CSS classes, enhancing the visual aesthetics and responsiveness of your Administrate dashboard. It also introduces additional fields like BooleanEmoji and CountryEmoji for a richer admin interface.

### Features
Expand Down
2 changes: 1 addition & 1 deletion bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $LOAD_PATH << File.expand_path('../test', __dir__)
ENV['RAILS_ENV'] = 'test'

puts 'Preparing test database ...'
`cd test/dummy; RAILS_ENV=test bundle exec rails db:prepare db:seed`
`cd test/dummy; bundle install; RAILS_ENV=test bundle exec rails db:prepare db:seed`

require 'bundler/setup'
require 'rails/plugin/test'
Binary file added images/screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion test/dummy/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PATH
administrate_tailwind_theme (0.0.1)
administrate (~> 0.15)
iso_country_codes (~> 0.7.8)
rails (>= 7.1.3)
rails (~> 7.1, >= 7.1.3)
tailwindcss-rails (~> 2.0)

GEM
Expand Down

0 comments on commit 3d72d22

Please sign in to comment.