Skip to content

Commit 4565f01

Browse files
authored
Merge pull request #19 from intersystems/fix-worfklow-iris-version
Use latest IRIS community in workflow
2 parents fa36455 + 40e76da commit 4565f01

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
env:
1616
# ** FOR GENERAL USE, LIKELY NEED TO CHANGE: **
1717
package: TestCoverage
18-
container_image: intersystemsdc/iris-community:2019.4.0.383.0-zpm
18+
container_image: intersystemsdc/iris-community:latest
1919

2020
# ** FOR GENERAL USE, MAY NEED TO CHANGE: **
2121
build_flags: -dev -verbose # Load in -dev mode to get unit test code preloaded
@@ -81,4 +81,4 @@ jobs:
8181
if: always()
8282
with:
8383
name: ${{ steps.xunit-viewer.outputs.report-name }}
84-
path: ${{ steps.xunit-viewer.outputs.report-dir }}
84+
path: ${{ steps.xunit-viewer.outputs.report-dir }}

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# TestCoverage
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [2.1.4] - Unreleased
9+
10+
### Fixed
11+
- #18: EOL normalization in coverage.list
12+
- #19: Update CI to latest IRIS community (and corresponding test updates)
13+
14+
## [2.1.3] - 2022-03-30
15+
- Last released version before CHANGELOG existed.

internal/testing/unit_tests/UnitTest/TestCoverage/Unit/TestComplexity.cls

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,9 @@ Method FunctionWithAppropriateScope(pArgument As %String)
225225
Quit tSC
226226
}
227227

228-
/// Complexity: 7 (1 + UCQ)
229-
/// Was 2 on earlier IRIS versions; UCQ adds a bit.
228+
/// Complexity: 14 (1 + UCQ)
229+
/// Was 2, and then 7, on earlier IRIS versions; UCQ adds a bit (and then a bit more)
230+
/// At some point we might want to just remove this test
230231
Method MethodWithEmbeddedSQL()
231232
{
232233
&sql(select top 1 1 into :foo)

module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Export generator="Cache" version="25">
33
<Document name="TestCoverage.ZPM"><Module>
44
<Name>TestCoverage</Name>
5-
<Version>2.1.3</Version>
5+
<Version>2.1.4</Version>
66
<Description>Run your typical ObjectScript %UnitTest tests and see which lines of your code are executed. Includes Cobertura-style reporting for use in continuous integration tools.</Description>
77
<Packaging>module</Packaging>
88
<Resources>

0 commit comments

Comments
 (0)