Skip to content

Commit 4c1ffb3

Browse files
authored
Merge pull request #394 from kmanning/issue_393
Issue 393: Convert from TravisCI to GithubActions
2 parents 248692f + 6a68cf6 commit 4c1ffb3

File tree

4 files changed

+36
-7
lines changed

4 files changed

+36
-7
lines changed

.github/workflows/build.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Run unit tests
2+
name: CI
3+
4+
# Triggers the workflow on all push or pull request events
5+
on: [push, pull_request]
6+
7+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
8+
jobs:
9+
# This workflow contains a single job called "build"
10+
build:
11+
# The type of runner that the job will run on
12+
runs-on: ubuntu-latest
13+
14+
# Steps represent a sequence of tasks that will be executed as part of the job
15+
steps:
16+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
17+
- uses: actions/checkout@v2
18+
19+
- name: Set up JDK 9
20+
uses: actions/setup-java@v2
21+
with:
22+
java-version: '9'
23+
distribution: 'adopt'
24+
25+
- name: Validate Gradle wrapper
26+
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
27+
28+
# Run unit tests
29+
- name: Run tests with gradle
30+
run: ./gradlew check --info
31+
32+
# Upload code coverage data to CodeCov
33+
- name: Upload CodeCov results
34+
uses: codecov/codecov-action@v1

.travis.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Unreleased
22

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

56
# v5.16

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![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)
1+
[![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)
22

33
# terraform-pipeline
44
A reusable pipeline template to apply terraform configuration serially across multiple environments.

0 commit comments

Comments
 (0)