From 1f320aac937f6ada2e20dedc41236cd2cff8704a Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Mon, 11 Apr 2022 15:16:29 +0200 Subject: [PATCH] Fix tests --- .github/workflows/plugin-tests.yml | 4 ++-- config/routes.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/plugin-tests.yml b/.github/workflows/plugin-tests.yml index 8a45bf62..6049931d 100644 --- a/.github/workflows/plugin-tests.yml +++ b/.github/workflows/plugin-tests.yml @@ -51,7 +51,7 @@ jobs: uses: actions/checkout@v3 with: path: plugins/${{ github.event.repository.name }} - ref: "${{ github.base_ref }}" + ref: "${{ github.head_ref }}" fetch-depth: 1 - name: Setup Git @@ -149,5 +149,5 @@ jobs: - name: Wizard QUnit if: matrix.build_type == 'frontend' - run: LOAD_PLUGINS=1 QUNIT_EMBER_CLI=0 RAILS_ENABLE_TEST_LOG=1 QUNIT_SKIP_CORE=1 bin/rake qunit:test['600000','/w/qunit'] + run: LOAD_PLUGINS=1 QUNIT_EMBER_CLI=0 QUNIT_SKIP_CORE=1 bin/rake qunit:test['600000','/w/qunit'] timeout-minutes: 10 diff --git a/config/routes.rb b/config/routes.rb index 5f124001..2d9f52c6 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true CustomWizard::Engine.routes.draw do - get '/qunit' => 'wizard#qunit' + get 'qunit' => 'wizard#qunit' get ':wizard_id' => 'wizard#index' put ':wizard_id/skip' => 'wizard#skip' get ':wizard_id/steps' => 'wizard#index'