spring-attic / spring-cloud-gcp

Integration for Google Cloud Platform APIs with Spring
Apache License 2.0
704 stars 694 forks source link

tests(integration): Use GHA to run integration tests #2591

Closed ttomsu closed 3 years ago

ttomsu commented 3 years ago

As mentioned in our sync this morning - this approach is an attempt to drop-in replace travis-ci.org, which is turning down at EOY2020. This is a slight modification of our new repo's GHA config (modulo the efficiency tweaks).

We may end up having to invest some time in deflaking some of these tests (much the way we've done in the new repo, too).

If we get a few successful runs in I'll delete the .travis.yaml file(s) in a follow on PR.

codecov[bot] commented 3 years ago

Codecov Report

Merging #2591 (a5531a6) into master (af832ce) will decrease coverage by 0.21%. The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2591      +/-   ##
============================================
- Coverage     74.25%   74.04%   -0.22%     
  Complexity     2171     2171              
============================================
  Files           267      267              
  Lines          7797     7816      +19     
  Branches        807      809       +2     
============================================
- Hits           5790     5787       -3     
- Misses         1630     1651      +21     
- Partials        377      378       +1     
Flag Coverage Δ Complexity Δ
integration ? ?
unittests 74.04% <0.00%> (-0.22%) 0.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
...work/cloud/gcp/bigquery/core/BigQueryTemplate.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...tegration/outbound/BigQueryFileMessageHandler.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...tastore/GcpDatastoreEmulatorAutoConfiguration.java 58.62% <0.00%> (-13.80%) 6.00% <0.00%> (ø%)
...a/spanner/core/convert/SpannerCustomConverter.java 82.35% <0.00%> (-10.99%) 7.00% <0.00%> (ø%)
...spanner/repository/query/AbstractSpannerQuery.java 42.85% <0.00%> (-1.27%) 6.00% <0.00%> (ø%)
...ta/spanner/core/convert/SpannerWriteConverter.java 100.00% <0.00%> (ø) 4.00% <0.00%> (ø%)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a5c8509...a5531a6. Read the comment docs.

ttomsu commented 3 years ago

@meltsufin travis-ci.com for OSS projects works through their GitHub App, which has been forbidden by OSPO (see http://go/github-docs/services#actions).

ttomsu commented 3 years ago

Backported https://github.com/GoogleCloudPlatform/spring-cloud-gcp/pull/105 to fix flaky secretmanager test

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

warning The version of Java (1.8.0_151) you have used to run this analysis is deprecated and we will stop accepting it accepting it soon.Please update to at least Java 11. Read more here