Skip to content

Commit

Permalink
[github] Migration to GitHub Actions (#45)
Browse files Browse the repository at this point in the history
Co-authored-by: Teemu Matilainen <teemu.matilainen@iki.fi>
  • Loading branch information
jylitalo and tmatilai authored Nov 25, 2021
1 parent dfdb4df commit 1490efa
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test
on: [push]

jobs:
test:
runs-on: ubuntu-20.04
env:
TERRAFORM_VERSIONS: "1.0.5 0.14.5 0.13.6 0.12.30 0.11.14"
strategy:
fail-fast: true
matrix:
ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0' ]
name: Test on Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Pull Terraform images
run: |
for v in $TERRAFORM_VERSIONS; do docker pull hashicorp/terraform:$v; done
- name: Run tests
run: bundle exec rake "test[$TERRAFORM_VERSIONS]"

25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

0 comments on commit 1490efa

Please sign in to comment.