Skip to content

Commit

Permalink
Merge pull request #394 from kmanning/issue_393
Browse files Browse the repository at this point in the history
Issue 393: Convert from TravisCI to GithubActions
  • Loading branch information
kmanning committed Jul 16, 2021
2 parents 248692f + 6a68cf6 commit 4c1ffb3
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 7 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Run unit tests
name: CI

# Triggers the workflow on all push or pull request events
on: [push, pull_request]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Set up JDK 9
uses: actions/setup-java@v2
with:
java-version: '9'
distribution: 'adopt'

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b

# Run unit tests
- name: Run tests with gradle
run: ./gradlew check --info

# Upload code coverage data to CodeCov
- name: Upload CodeCov results
uses: codecov/codecov-action@v1
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Unreleased

- [Issue #393](https://github.com/manheim/terraform-pipeline/issues/393) Testing: Convert from TravisCI to GithubActions
- [Issue #280 (partial)](https://github.com/manheim/terraform-pipeline/issues/280) Feature: Add TerraformImportPlugin & TerraformImportCommand

# v5.16
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/manheim/terraform-pipeline.svg?branch=master)](https://travis-ci.com/manheim/terraform-pipeline) [![codecov](https://codecov.io/gh/manheim/terraform-pipeline/branch/master/graph/badge.svg)](https://codecov.io/gh/manheim/terraform-pipeline)
[![CI](https://github.com/manheim/terraform-pipeline/actions/workflows/build.yml/badge.svg)](https://github.com/manheim/terraform-pipeline/actions/workflows/build.yml) [![codecov](https://codecov.io/gh/manheim/terraform-pipeline/branch/master/graph/badge.svg)](https://codecov.io/gh/manheim/terraform-pipeline)

# terraform-pipeline
A reusable pipeline template to apply terraform configuration serially across multiple environments.
Expand Down

0 comments on commit 4c1ffb3

Please sign in to comment.