From f5248f6f504701960a2bbb7a51117060f7d66613 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 9 Aug 2019 16:20:50 +0900 Subject: [rubygems/rubygems] Added the initial workflow file. https://github.com/rubygems/rubygems/commit/6405a1e51a --- .github/workflows/workflow.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/workflow.yml (limited to '.github') 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" -- cgit v1.2.3