Skip to content

Commit

Permalink
ci: use .yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Sep 22, 2024
1 parent cc8afe7 commit 2a32af0
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 30 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Copyright (C) 2021-2024 Sutou Kouhei <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

name: Test
on:
- push
- pull_request
jobs:
test:
name: ${{ matrix.ruby-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version:
- "2.6"
- "2.7"
- "3.0"
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies to build gems
run: |
sudo apt update
bundle install
- name: Test
# TODO: No test
if: |
false
run: |
bundle exec ruby test/run-test.rb
30 changes: 0 additions & 30 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit 2a32af0

Please sign in to comment.