diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-02-27 15:44:24 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-03-06 07:43:00 +0900 |
commit | e06b7ad032e926d4316151066c0fcfa656c3a5a2 (patch) | |
tree | 808cb414d873c76b3398638ccf2c59f2962f0c73 | |
parent | c645636cc8e76a53772e3ab15693ed716132159a (diff) | |
download | bundler-e06b7ad032e926d4316151066c0fcfa656c3a5a2.tar.gz |
Try to migrate GitHub Actions from Travis CI
-rw-r--r-- | .github/workflows/ubuntu.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml new file mode 100644 index 0000000000..f64dbb1844 --- /dev/null +++ b/.github/workflows/ubuntu.yml @@ -0,0 +1,35 @@ +name: ubuntu + +on: + pull_request: + + push: + branches: + - staging + - trying + +jobs: + ubuntu: + runs-on: ubuntu-latest + strategy: + matrix: + ruby: [ 2.3.8, 2.4.9, 2.5.7, 2.6.5 ] + steps: + - uses: actions/checkout@v1 + - name: Setup ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - name: Prepare dependencies + run: | + sudo apt-get install graphviz -y + bin/rake override_version + bin/rake spec:parallel_deps + - name: Run Test + run: bin/parallel_rspec spec + - name: Run Test with realworld + run: | + sudo -E bin/rake spec:sudo + sudo chown -R $(whoami) tmp + BUNDLER_SPEC_PRE_RECORDED=1 bin/rake spec:realworld + timeout-minutes: 60 |