summaryrefslogtreecommitdiff
path: root/.github/workflows/ubuntu-bundler3.yml
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2020-03-06 11:15:45 +0000
committerBundlerbot <bot@bundler.io>2020-03-06 11:15:45 +0000
commit140b5de76f2e23fc44333d55efb689ad27a81828 (patch)
treec916ffc801a50a5d2126c313ea588118d64f87d3 /.github/workflows/ubuntu-bundler3.yml
parentc645636cc8e76a53772e3ab15693ed716132159a (diff)
parentf07db0495e95f7f1f4e090d1f77636b702926607 (diff)
downloadbundler-140b5de76f2e23fc44333d55efb689ad27a81828.tar.gz
Merge #7660
7660: Try to migrate GitHub Actions from Travis CI r=hsbt a=hsbt Fixes #7587 Co-authored-by: Hiroshi SHIBATA <hsbt@ruby-lang.org> Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
Diffstat (limited to '.github/workflows/ubuntu-bundler3.yml')
-rw-r--r--.github/workflows/ubuntu-bundler3.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu-bundler3.yml b/.github/workflows/ubuntu-bundler3.yml
new file mode 100644
index 0000000000..fd9281ebc0
--- /dev/null
+++ b/.github/workflows/ubuntu-bundler3.yml
@@ -0,0 +1,38 @@
+name: ubuntu-bundler3
+
+on:
+ pull_request:
+
+ push:
+ branches:
+ - staging
+ - trying
+
+jobs:
+ ubuntu-bundler3:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ ruby: [ 2.4.9, 2.5.7, 2.6.5 ]
+ rgv: [ v3.0.6, master ]
+ env:
+ RGV: ${{ matrix.rgv }}
+ steps:
+ - uses: actions/checkout@v1
+ - name: Setup ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby }}
+ - name: Prepare dependencies
+ run: |
+ BUNDLER_SPEC_SUB_VERSION=3.0.0 bin/rake override_version
+ bin/rake spec:parallel_deps
+ - name: Run Test
+ run: bin/parallel_rspec spec
+ - name: Run Test with realworld
+ run: bin/rake spec:realworld
+ env:
+ BUNDLER_SPEC_PRE_RECORDED: 1
+ - name: Run Test with sudo
+ run: bin/rake spec:sudo
+ timeout-minutes: 60