File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,16 @@ jobs:
2828 - " 3.0"
2929 - " 2.7"
3030 - " 2.6"
31+ dummy :
32+ - " with-engine"
33+ - " without-engine"
3134 include :
3235 - ruby : " 3.0"
3336 coverage : " true"
3437 env :
3538 COVERAGE : ${{matrix.coverage}}
3639 COVERAGE_TOKEN : ${{secrets.CODACY_PROJECT_TOKEN}}
40+ TEST_DUMMY : ${{matrix.dummy}}
3741 steps :
3842 - name : Checkout
3943 uses : actions/checkout@v1
Original file line number Diff line number Diff line change 1515ENV [ "RAILS_ENV" ] ||= "test"
1616
1717RAILS_VERSION = ENV [ "RAILS_VERSION" ] || "6.x"
18- WITH_ENGINE = ( ENV [ "WITH_ENGINE " ] || "true" ) == "true"
19- DUMMY_DIR = WITH_ENGINE ? " with-engine" : "without-engine"
18+ DUMMY_DIR = ENV [ "TEST_DUMMY " ] || 'with-engine'
19+ WITH_ENGINE = DUMMY_DIR == ' with-engine'
2020require SPEC_ROOT . join ( "dummies/#{ DUMMY_DIR } /dummy-#{ RAILS_VERSION } /dummy/config/environment" ) . to_s
2121
2222require "rspec/rails"
You can’t perform that action at this time.
0 commit comments