summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-02-27 20:57:23 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-03-06 07:43:01 +0900
commite9ba08085d8b8fc06b15458af6c87222e50e452c (patch)
treee766dc60f4ae4c2e63d140a99af9a95002e9d1b0
parent310c5288ad20687085f900b25cf98d8cf46decbb (diff)
downloadbundler-e9ba08085d8b8fc06b15458af6c87222e50e452c.tar.gz
Migrate spec:sudo to GitHub Actions
-rw-r--r--.github/workflows/ubuntu-sudo.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu-sudo.yml b/.github/workflows/ubuntu-sudo.yml
new file mode 100644
index 0000000000..0ee1a0e335
--- /dev/null
+++ b/.github/workflows/ubuntu-sudo.yml
@@ -0,0 +1,32 @@
+name: ubuntu-sudo
+
+on:
+ pull_request:
+
+ push:
+ branches:
+ - staging
+ - trying
+
+jobs:
+ ubuntu:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ ruby: [ 2.4.x, 2.5.x, 2.6.x ]
+ rgv: [ v3.0.6, master ]
+ steps:
+ - uses: actions/checkout@v1
+ - name: Setup ruby
+ uses: actions/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby }}
+ - name: Prepare dependencies
+ run: |
+ bin/rake override_version
+ bin/rake spec:deps
+ - name: Run Test
+ run: sudo -E bin/rake spec:sudo
+ env:
+ RGV: ${{ matrix.rgv }}
+ timeout-minutes: 60