File tree Expand file tree Collapse file tree 4 files changed +36
-7
lines changed Expand file tree Collapse file tree 4 files changed +36
-7
lines changed Original file line number Diff line number Diff line change
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
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
3
+ - [ Issue #393 ] ( https://github.com/manheim/terraform-pipeline/issues/393 ) Testing: Convert from TravisCI to GithubActions
3
4
- [ Issue #280 (partial)] ( https://github.com/manheim/terraform-pipeline/issues/280 ) Feature: Add TerraformImportPlugin & TerraformImportCommand
4
5
5
6
# v5.16
Original file line number Diff line number Diff line change 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 )
2
2
3
3
# terraform-pipeline
4
4
A reusable pipeline template to apply terraform configuration serially across multiple environments.
You can’t perform that action at this time.
0 commit comments