Skip to content

Commit

Permalink
Merge pull request #1203 from B3Partners/update_build_matrix
Browse files Browse the repository at this point in the history
Update build matrix
  • Loading branch information
mprins authored Nov 8, 2021
2 parents 486014a + 3944f11 commit 5ef7809
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
jobs:
build:
name: MS SQL ${{ matrix.mssql }} online test
runs-on: [ubuntu-18.04]
runs-on: [ubuntu-20.04]
strategy:
matrix:
mssql: [2019-latest]
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ jobs:
# docker image tags from https://hub.docker.com/r/postgis/postgis/tags?page=1&ordering=last_updated
# zie ook https://www.postgresql.org/support/versioning/
postgis: [
# tot 12-2021
9.6-2.5,
# tot 12-2022
10-2.5,
11-3.1, 12-3.1, 13-3.1
11-3.1,
12-3.1,
13-3.1,
14-3.1
]

services:
Expand Down
21 changes: 11 additions & 10 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ install:

# initial build/code generation, no testing
build_script:
- mvn clean install -Dmaven.test.skip=true -Dtest.onlyITs= -B -V -fae -q -Pmssql -pl "!brmo-dist" %DOCKERHOST%
# the `-Dhttps.protocols=TLSv1.1,TLSv1.2` option is to work around https://bugs.openjdk.java.net/browse/JDK-8213202 (needed for java 11.0.2 which has bugs with TLS 1.3)
- mvn -Dhttps.protocols=TLSv1.1,TLSv1.2 clean install -Dmaven.test.skip=true -Dtest.onlyITs= -B -V -fae -q -Pmssql -pl "!brmo-dist" %DOCKERHOST%

# services worden na install gestart en we hebben gegenereerde sql nodig
after_build:
Expand Down Expand Up @@ -111,24 +112,24 @@ after_build:

test_script:
# unit tests
- if "%OTHER_ITESTS%"=="true" mvn -e -fae -B -Pmssql test -Dtest.persistence.unit=brmo.persistence.microsoftsqlserver -pl "!brmo-dist" %DOCKERHOST%
- if "%OTHER_ITESTS%"=="true" mvn -e -fae -B -Pmssql -pl "datamodel" resources:testResources compiler:testCompile surefire:test -Dtest="!*UpgradeTest,!P8*"
- if "%OTHER_ITESTS%"=="true" mvn -Dhttps.protocols=TLSv1.1,TLSv1.2 -e -fae -B -Pmssql test -Dtest.persistence.unit=brmo.persistence.microsoftsqlserver -pl "!brmo-dist" %DOCKERHOST%
- if "%OTHER_ITESTS%"=="true" mvn -Dhttps.protocols=TLSv1.1,TLSv1.2 -e -fae -B -Pmssql -pl "datamodel" resources:testResources compiler:testCompile surefire:test -Dtest="!*UpgradeTest,!P8*"
# integratie tests
# run integratie tests voor brmo-loader module
- if "%LOADER_ONLY_ITESTS%"=="true" mvn -e verify -B -Pmssql -Dtest.onlyITs=true -pl "brmo-loader" -Dmssql.instancename=%INSTANCENAME%
- if "%LOADER_ONLY_ITESTS%"=="true" mvn -Dhttps.protocols=TLSv1.1,TLSv1.2 -e verify -B -Pmssql -Dtest.onlyITs=true -pl "brmo-loader" -Dmssql.instancename=%INSTANCENAME%
# run integratie tests voor bgt-loader module
- if "%BGT_ONLY_ITESTS%"=="true" mvn -e verify -B -Pmssql -Dtest.onlyITs=true -pl "bgt-loader" -Dmssql.instancename=%INSTANCENAME%
- if "%BGT_ONLY_ITESTS%"=="true" mvn -Dhttps.protocols=TLSv1.1,TLSv1.2 -e verify -B -Pmssql -Dtest.onlyITs=true -pl "bgt-loader" -Dmssql.instancename=%INSTANCENAME%
# run integratie tests voor brmo-service module
- if "%OTHER_ITESTS%"=="true" mvn -e verify -B -Pmssql -Dtest.onlyITs=true -pl "brmo-service" -Dmssql.instancename=%INSTANCENAME%
- if "%OTHER_ITESTS%"=="true" mvn -Dhttps.protocols=TLSv1.1,TLSv1.2 -e verify -B -Pmssql -Dtest.onlyITs=true -pl "brmo-service" -Dmssql.instancename=%INSTANCENAME%
# run integratie tests voor brmo-soap module
- if "%OTHER_ITESTS%"=="true" mvn -e verify -B -Pmssql -Dtest.onlyITs=true -pl "brmo-soap" -Dmssql.instancename=%INSTANCENAME%
- if "%OTHER_ITESTS%"=="true" mvn -Dhttps.protocols=TLSv1.1,TLSv1.2 -e verify -B -Pmssql -Dtest.onlyITs=true -pl "brmo-soap" -Dmssql.instancename=%INSTANCENAME%
# run integratie tests voor brmo-stufbg204 module
- if "%OTHER_ITESTS%"=="true" mvn -e verify -B -Pmssql -Dtest.onlyITs=true -pl "brmo-stufbg204" -Dmssql.instancename=%INSTANCENAME%
- if "%OTHER_ITESTS%"=="true" mvn -Dhttps.protocols=TLSv1.1,TLSv1.2 -e verify -B -Pmssql -Dtest.onlyITs=true -pl "brmo-stufbg204" -Dmssql.instancename=%INSTANCENAME%
# run integratie tests voor brmo-commandline module
- if "%OTHER_ITESTS%"=="true" mvn -e verify -B -Pmssql -Dtest.onlyITs=true -pl "brmo-commandline" -Dmssql.instancename=%INSTANCENAME%
- if "%OTHER_ITESTS%"=="true" mvn -Dhttps.protocols=TLSv1.1,TLSv1.2 -e verify -B -Pmssql -Dtest.onlyITs=true -pl "brmo-commandline" -Dmssql.instancename=%INSTANCENAME%

after_test:
- mvn clean build-helper:remove-project-artifact
- mvn -Dhttps.protocols=TLSv1.1,TLSv1.2 clean build-helper:remove-project-artifact

on_success:
# report code coverage
Expand Down

0 comments on commit 5ef7809

Please sign in to comment.