Commit Graph

11 Commits

Author SHA1 Message Date
dotasek 6a21d05ab8
Set JaCoCo evaluation via variable (#1213)
* Set JaCoCo evaluation via variable

* Fix variable syntax

* Try syntax again

* And again

* Evaluate against currentName

* More syntax fixes

* Evaluate condition via eq

* Fix logic

* Temp disable failing tests

* Revert "Temp disable failing tests"

This reverts commit 9ff4c88271.

* Bump jacoco + change version property in reports

* Re-use logic for codecov execution
2023-04-12 11:46:11 -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 1fee28fe84
Feature - run JUnit tests from validator_cli (#835)
* WIP add initial test running code

* Importing test modules fix breaking tests 1

* Clean up pom dependencies, move execution before context load

* Re-org and document cli pom

* Set more dependencies to compile. Print entries in classpath

* Try running via internal Executors

* Clearer class names + provide clear output

* Clean up test summarys and output + update class regex to junit default

* Refactor to avoid having to extend class

* Trim down dependency additions in pom + javadoc

* Add the rest of the modules to TestExecutor

* Parse additional params for classname filter and module

* Add experimental JUnit 4 runner in case JUnit 5 hates us.

* Include JUnit4 tests via adapters. Need to refactor for better naming.

* Update LoadIgTests to JUnit 5

* Gentle refactor, print execution time

* Remove unnecessary interface, organize packages

* Remove cached resources (need to fix this)

* Allow setting of txCache globally for tests + fix r5 tests

* Mild refactor of TestExecutor + Reorder test execution

* Add fhirTestCasesDirectory to testConfig + get r4 tests working

* Add dstu2016may and dstu3 tests

* Add dstu2 tests

* Add convertors tests

* Refactor resourceNameForFile + don't copy existing files

* Get all txCache directories centrally and allow all to live in same dir

* Start extracting txCache resources

* Finish extracting txCache resources

* Fix failing GraphQLEngineTest

* Try an mvn install for the pull pipeline

* Clean and refactor

* Test coverage

* Fix GraphQLEngineTests for local jar run

* More refactoring, more tests

* Add bare test for TxCacheResourceExtractor

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-06-14 17:04:00 -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
dotasek e99a9926ab Add pipeline to test parameterized builds 2021-11-10 14:18:55 -05:00