-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace AppVeyor with GitHub Actions (#7893)
- Loading branch information
Showing
5 changed files
with
49 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
main: | ||
name: >- | ||
${{ matrix.os }} ${{ matrix.ruby }} | ||
runs-on: ${{ matrix.os }}-latest | ||
env: | ||
# See https://github.com/tmm1/test-queue#environment-variables | ||
TEST_QUEUE_WORKERS: 2 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# [ ubuntu, macos, windows ] | ||
os: [ windows ] | ||
ruby: [ 2.4, 2.5, 2.6, 2.7, head ] | ||
include: | ||
- { os: windows, ruby: mingw } | ||
exclude: | ||
- { os: windows, ruby: head } | ||
|
||
steps: | ||
- name: windows misc | ||
if: matrix.os == 'windows' | ||
run: | | ||
# set TMPDIR, git core.autocrlf | ||
echo "::set-env name=TMPDIR::$env:RUNNER_TEMP" | ||
git config --system core.autocrlf false | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
|
||
- name: install dependencies | ||
run: bundle install --jobs 3 --retry 3 | ||
- name: spec | ||
run: bundle exec rake spec | ||
- name: ascii_spec | ||
run: bundle exec rake ascii_spec | ||
- name: internal_investigation | ||
run: bundle exec rake internal_investigation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters