Commit Graph

20 Commits

Author SHA1 Message Date
dotasek 8fb95b49e0
Use v2 of PublishCodeCoverageResults (#1665)
* Use v2 of PublishCodeCoverageResults

* Bump jacoco

* Try including source path for code coverage

* Aggregate sources for code coverage results

* Bump version for passing test

* Try individual source directories

* Parameterize source directories, include parameter for verbose coverage

* Fix syntax
2024-07-11 15:10:04 -04:00
dotasek 55ac916133
Refactor Pull Request Pipeline (#1273)
* Try multiple module target directories

* Try different format

* Try displaying cache task name + multiple caches

* Name the maven artifact cache step + add all modules

* Start consuming cached builds + targets

* Fix job list

* Fix other bad params

* Fix bad indent

* Try test task

* Try different value syntax

* Add all modules

* See if cacheing works from linux to windows

* Refactor as testUnits

* Trim tested modules

* missing colon

* It's not an image anymore, it's a unit

* Test exec

* Test exec for real

* Fix parameters format

* Fix r5 url for package fetch (#1260)

* Fix r5 url for package fetch

* Revert previous commit

* Make r6 the only packages fetched from build.fhir.org

* Update RELEASE_NOTES.md

* Update RELEASE_NOTES.md

* Release: v6.0.6
## Validator Changes

* no changes

## Other code changes

* Update R6 package tgz fetching
***NO_CI***

* Updating version to: 6.0.7-SNAPSHOT and incrementing test cases dependency.

* Try using parameters

* Try another way

* Try third way

* Try fourth way

* Try fifth way

* Try 6

* Try 7

* Apply refactor

* Try iterating over images

* Try iterating over images 2

* Test all images

* Conditionally test multiplatform modules

* Test JDKs too

* Fix and()

* Add JDK image to job names + test JDKs for exec

* Better job name for setup

* Fix names

* more granular test configs

* fix repeated jobs

* name for exec jobs

* fix missing s

* Add placeholder Codecov job

* Fix complaint about job name

* Try moving codecov to test template

* Add explicit module for test

* Try setting up job name

* Try setting up job name

* Change job names to use underscore and alphanum

* Move codecov job back to master-branch

* Fix condition to match ubuntu_java_11

* Publish test reports

* Publish test reports

* use value for artifact name

* Use variable for skipJaCoCo conditions

* Skip validation temporarily

* Change artifact names.

* add jacoco:report-aggregate task

* remove leftover cut and paste line

* Improve test job display name

* Add jacoco results + codecov upload

* Fix accidental inclusions in module loop

* Remove JaCoCo coverage condition

* Bump down JaCoCo plugin

* Rearrange JaCoCo plugin

* Fix surefire and jacoco output

* Add jacoco to pipeline

* Try skipping maven cache step

* Add codecov token

* Add missing MAVEN_CACHE_FOLDER

* Change variable syntax

* Move setup to own template

* Change setup template

* rearrange pipeline yml, re-enable validation test module

* Update core version bumps

* Temporarily disable tests

* Move to PR pipeline + Fix unused pool declaration

* Disable some more.

* Restore disabled and ignored tests

* Fix task name + clean up old prototype

---------

Co-authored-by: markiantorno <markiantorno@gmail.com>
2023-05-24 13:09:13 -04:00
dotasek 15b34acd87
For maven 3.9.0 plus, use wagon resolution (has retries) (#1205)
* For maven 3.9.0 plus, use wagon resolution (has retries)

* Move to mavenOptions, try again

* Add solution to other pipelines
2023-04-04 21:09:48 -04:00
dotasek 1300acd867
Balance heap space between maven and surefire (#1195) 2023-03-29 14:30:27 -04:00
dotasek bc4a76f1ad
Bump Maven memory heap (#1174)
* Bump maven heap by 1G

* Real numbers this time.
2023-03-17 14:06:42 -04:00
dotasek d2dc479a23
PR Build Refactor 2 (#1137)
* Only resolve dependencies and plugins in the first stage

* Switch back to maven install task

but hopefully with cached maven repo

* try switching codecov to informational

* Use proper skipStaging config

---------

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-02-24 22:11:43 -05:00
dotasek 70f7d77fba
Refactor PR Pipeline (#1133)
* WIP start refactor

* Build target jar in OS

* Build target jar in OS 2

* Fix codecov and jacoco condition

* Shuffle codecov test reporting

---------

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-02-24 09:23:45 -05:00
dotasek c51f7c2327
Enhanced testing for character encoding issues (#928)
* Redo pull pipeline to check for alternate file encodings

* Fix jdkVersion references in pull-request-pipeline

* Failing test for Cp1252 encoded Java environments

* Fix file encoding mistake

* Add fix + refactor test

* Backport ParserBase changes and tests to previous versions

* And I mean it, this time

* Update tx cache resources

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-09-23 10:38:10 -04:00
dotasek 55ae5b6e99
Update windows image to windows-latest in PR pipeline (#893)
* Update windows image to windows-latest in PR pipeline

* Add JAVA_TOOL_OPTIONS to fix character related breakages in Windows tests

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-08-19 10:18:36 -04:00
dotasek b855463aa7
Remove java 8 from the pull request pipeline (#871)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-07-22 10:54:25 -04:00
dotasek 5aa2d8db8e
Add Java 17 to Ubuntu PR pipeline (#828)
Azure now supports Java 17 on their Ubuntu pipeline so we can add it.

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-05-31 11:49:03 -04:00
dotasek cccf1cebae
Update maven config and tests to allow Java 8, 11 and 17 builds (#653)
* Updates to enable Java 8, 11, and 17 builds

* Set surefire args according to profile + update jacoco verison

* Add comments for surefire profile args.

* Temporarily skip failing test

* Object based parameters ***NO_CI***

* Cleanup skipped test, move new pipeline codo

* Update validator_test_case_version
2021-11-16 09:26:53 -05:00
Mark Iantorno 1bba89d547 changing macos build to latest 2021-10-08 13:24:07 -04:00
Mark Iantorno 3508a22b56 Update pull-request-pipeline.yml for Azure Pipelines
Upping java version to deal with ssl properly.
2021-08-18 21:15:05 -04:00
Mark Iantorno 30bdbf4518 Update pull-request-pipeline.yml for Azure Pipelines 2021-05-21 15:53:54 -04:00
Mark Iantorno a0d64cc224 Update pull-request-pipeline.yml for Azure Pipelines
yaml is the best language to do things in
2021-05-21 15:51:37 -04:00
Mark Iantorno 7ddf41f571 Update pull-request-pipeline.yml for Azure Pipelines
Adding validation cli jar test run
2021-05-21 15:42:41 -04:00
Mark Iantorno 5a27bd5a61 Restricting test publishing to 1/3 of the OS runs 2020-06-12 18:05:45 -04:00
Mark Iantorno d2c473fa26 Update pull-request-pipeline.yml for Azure Pipelines 2020-06-12 17:25:07 -04:00
Mark Iantorno 2606b1405a Adding dedicated pull request pipeline
[skip ci]
2020-06-12 17:17:33 -04:00