-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from wri/develop
Develop to master
- Loading branch information
Showing
195 changed files
with
4,809 additions
and
3,531 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: Run tests and apply terraform changes for current branch | ||
|
||
on: [ push ] | ||
|
||
permissions: | ||
id-token: write | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
container: | ||
image: quay.io/azavea/openjdk-gdal:3.1-jdk8-slim | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: coursier/cache-action@v6 | ||
|
||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-region: us-east-1 | ||
role-to-assume: arn:aws:iam::617001639586:role/gfw-data-lake-read | ||
|
||
- name: run tests | ||
run: ./sbt ++$SCALA_VERSION coverage test coverageReport | ||
|
||
- name: Run codacy-coverage-reporter | ||
uses: codacy/codacy-coverage-reporter-action@master | ||
with: | ||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
coverage-reports: target/scala-2.12/coverage-report/cobertura.xml | ||
|
||
- name: Run CodeCOV action | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: target/scala-2.12/coverage-report/cobertura.xml | ||
flags: unittests | ||
name: codecov-umbrella | ||
fail_ci_if_error: false | ||
verbose: false | ||
|
||
publish: | ||
name: Publish Artifacts | ||
needs: [build] | ||
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v')) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: coursier/cache-action@v6 | ||
|
||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: temurin | ||
java-version: 11 | ||
|
||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-region: us-east-1 | ||
role-to-assume: arn:aws:iam::617001639586:role/gfw-geotrellis-jars-write | ||
|
||
- name: Build Assembly | ||
run: sbt assembly | ||
|
||
- name: Publish Assembly | ||
run: aws s3 cp target/scala-2.12/*.jar s3://gfwpro-geotrellis-jars/release/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version = "3.0.0-RC3" | ||
maxColumn = 138 | ||
continuationIndent.defnSite = 2 | ||
binPack.parentConstructors = true | ||
binPack.literalArgumentLists = false | ||
newlines.penalizeSingleSelectMultiArgList = false | ||
newlines.sometimesBeforeColonInMethodReturnType = false | ||
align.openParenCallSite = false | ||
align.openParenDefnSite = false | ||
rewriteTokens { | ||
"⇒" = "=>" | ||
"←" = "<-" | ||
} | ||
optIn.selfAnnotationNewline = false | ||
optIn.breakChainOnFirstMethodDot = true | ||
importSelectors = BinPack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.4.3 | ||
sbt.version=1.5.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
addDependencyTreePlugin | ||
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.4") | ||
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.0") | ||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6") | ||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "1.1.0") | ||
addSbtPlugin("net.pishen" % "sbt-lighter" % "1.2.0") | ||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.8.1") | ||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.8.2") | ||
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1") | ||
addCompilerPlugin("org.scalameta" % "semanticdb-scalac" % "4.4.30" cross CrossVersion.full) |
Oops, something went wrong.