diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a7ce9f2ff..33868cf56 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,18 +2,17 @@ name: Tests on: push: - branches: + branches: - main - tc-gh-actions pull_request: jobs: default: - name: Unit and Integration - - if: '! github.event.pull_request.draft' - + + if: "! github.event.pull_request.draft" + runs-on: ubuntu-latest env: @@ -28,10 +27,9 @@ jobs: POSTGRES_DB: idiario_test ports: - 5432:5432 - options: - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s + options: --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s --health-retries 3 redis: @@ -47,10 +45,10 @@ jobs: - name: Setup Ruby and install gems uses: ruby/setup-ruby@v1 with: - ruby-version: '2.6.6' - bundler: '2.4.22' + ruby-version: "2.6.6" + bundler: "2.4.22" bundler-cache: true - env: + env: ImageOS: ubuntu20 - name: Configure database @@ -61,7 +59,11 @@ jobs: echo -e " test: secret_key_base: `bundle exec rake secret` - redis_url: redis://localhost:6379 + REDIS_URL: 'redis://localhost:6379/' + REDIS_DB_CACHE: '0' + REDIS_DB_SESSION: '1' + REDIS_DB_SIDEKIQ: '2' + REDIS_MODE: 'standalone' " > config/secrets.yml - name: Migrate diff --git a/app/assets/javascripts/templates/avaliations/avaliation_fields.jst.ejs b/app/assets/javascripts/templates/avaliations/avaliation_fields.jst.ejs index 9886735c9..61493a010 100644 --- a/app/assets/javascripts/templates/avaliations/avaliation_fields.jst.ejs +++ b/app/assets/javascripts/templates/avaliations/avaliation_fields.jst.ejs @@ -1,33 +1,60 @@ - + -
-
-
+
+
+ + +
+
+ -