summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-09 16:20:50 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-09-26 17:48:01 +0900
commitf5248f6f504701960a2bbb7a51117060f7d66613 (patch)
tree2a6c80569797918d64720962ba022a5dd01162a1 /.github
parent5c872b297c11394cc436885400c295f7dccff039 (diff)
[rubygems/rubygems] Added the initial workflow file.
https://github.com/rubygems/rubygems/commit/6405a1e51a
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/workflow.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
new file mode 100644
index 0000000000..0811209a11
--- /dev/null
+++ b/.github/workflows/workflow.yml
@@ -0,0 +1,29 @@
+on: pull_request
+
+jobs:
+ macos:
+ name: rake test
+ runs-on: macos-latest
+ strategy:
+ matrix:
+ ruby: [ '2.3.x', '2.4.x', '2.5.x', '2.6.x' ]
+ steps:
+ - name: Disable Firewall
+ run: |
+ sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
+ sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
+ - name: Checkout
+ uses: actions/checkout@master
+ with:
+ fetch-depth: 5
+ - name: Setup ruby
+ uses: actions/setup-ruby@v1
+ with:
+ version: ${{ matrix.ruby }}
+ architecture: 'x64'
+ - name: Install Dependencies
+ run: util/ci.sh before_script
+ - name: Run Test
+ run: util/ci.sh script
+ env:
+ TEST_TOOL: "rubygems"