Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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