From fe70228f0c46bf19631709bb28dae42928fb1ce4 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Wed, 22 Sep 2021 20:57:07 +0530 Subject: [PATCH] Migrate from AppVeyor CI to GH Actions (#125) Merge pull request 125 --- .github/workflows/ci.yml | 16 ++++++++++------ appveyor.yml | 28 ---------------------------- 2 files changed, 10 insertions(+), 34 deletions(-) delete mode 100644 appveyor.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ad30cb..70a6ed7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,14 +10,18 @@ on: jobs: ci: - name: 'Ruby ${{ matrix.ruby_version }}' - runs-on: 'ubuntu-latest' + name: "Ruby ${{ matrix.ruby_version }} (${{ matrix.os }})" + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: + os: + - "ubuntu-latest" + - "windows-latest" ruby_version: - - 2.5 - - 2.7 + - "2.5" + - "2.7" + - "3.0" steps: - uses: actions/checkout@v2 with: @@ -31,8 +35,8 @@ jobs: run: bash script/test --force-color style_check: - name: 'Style Check (Ruby ${{ matrix.ruby_version }})' - runs-on: 'ubuntu-latest' + name: "Style Check (Ruby ${{ matrix.ruby_version }})" + runs-on: "ubuntu-latest" strategy: fail-fast: false matrix: diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index a88db98..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,28 +0,0 @@ -version: "{build}" - -clone_depth: 10 - -branches: - only: - - master - -build: off - -install: - - SET PATH=C:\Ruby%RUBY_FOLDER_VER%-x64\bin;%PATH% - - bundle install --retry 5 --jobs=%NUMBER_OF_PROCESSORS% --clean --path vendor\bundle - -environment: - matrix: - - RUBY_FOLDER_VER: "26" - - RUBY_FOLDER_VER: "25" - -test_script: - - ruby --version - - gem --version - - bundler --version - - bash ./script/test - -cache: - # If one of the files after the right arrow changes, cache will be skipped - - 'vendor\bundle -> appveyor.yml,Gemfile,jekyll-sass-converter.gemspec'