diff options
author | Jeremy Evans <code@jeremyevans.net> | 2022-05-10 11:24:19 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2022-05-10 15:09:39 -0700 |
commit | 67d2e0d3a2027f6c97166f960e327335c5620339 (patch) | |
tree | ef479a30a9908d7906360af3da29ef380b230bf1 /.github/workflows | |
parent | b7d554a07d8d3f9791e3c253d7e42bfd37bff9fe (diff) | |
download | rack-67d2e0d3a2027f6c97166f960e327335c5620339.tar.gz |
Add a .ci.Gemfile for CI testing
This avoids potentially installing unnecessary dependencies.
Also, avoid gem update --system and bundler config/install.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/development.yml | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 98f975cd..885c5901 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -10,6 +10,8 @@ jobs: os: [ubuntu-latest, macos-latest] ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1, jruby, truffleruby-head] runs-on: ${{matrix.os}} + env: + BUNDLE_GEMFILE: .ci.gemfile steps: - uses: actions/checkout@v2 @@ -26,12 +28,6 @@ jobs: if: matrix.os == 'macos-latest' run: brew install fcgi libmemcached - - name: Bundle install... - run: | - gem update --system - bundle config path vendor/bundle - bundle install - - run: bundle exec rake external: @@ -42,6 +38,8 @@ jobs: os: [ubuntu-latest, macos-latest] ruby: [2.6, 2.7] runs-on: ${{matrix.os}} + env: + BUNDLE_GEMFILE: .ci.gemfile steps: - uses: actions/checkout@v2 @@ -58,9 +56,4 @@ jobs: if: matrix.os == 'macos-latest' run: brew install libmemcached - - name: Bundle install... - run: | - bundle config path vendor/bundle - bundle install - - run: bundle exec rake external |