Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed Aug 25, 2023
1 parent ea894f4 commit ebd3680
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 23 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,6 @@ jobs:
java -Xmx32m -version
env
- name: Set parameters for AspectJ
id: aspect_j_params
if: ${{ matrix.java > 15 }}
run: |
echo "ASPECT_ARGS=-Daspectj.args="\"$SUREFIRE_ARGS\" >> $GITHUB_ENV
echo "ASPECT_ARGS_BDD=-Daspectj.args="\"$SUREFIRE_ARGS_BDD\" >> $GITHUB_ENV
- name: Set parameters for AspectJ
id: aspect_j_params_empty
if: ${{ matrix.java < 16 }}
run: |
echo "ASPECT_ARGS=-Daspectj.args=''" >> $GITHUB_ENV
echo "ASPECT_ARGS_BDD=-Daspectj.args=''" >> $GITHUB_ENV
# run cann't start from comment
# curl -o allure-${ALLURE_VERSION}.tgz -Ls https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/${ALLURE_VERSION}/allure-${ALLURE_VERSION}.tgz
- name: Install Allure
Expand All @@ -80,14 +66,14 @@ jobs:
if: steps.jdi-compile.outcome == 'success'
timeout-minutes: 30 # prevent blocking
continue-on-error: true
run: mvn verify -pl $BDD_TESTS ${{ env.ASPECT_ARGS_BDD }} --fail-at-end
run: mvn verify -pl $BDD_TESTS --fail-at-end

- name: Run tests - HTTP
id: testsHttp
if: steps.jdi-compile.outcome == 'success'
timeout-minutes: 30 # prevent blocking
continue-on-error: true
run: mvn verify -pl $HTTP_TESTS ${{ env.ASPECT_ARGS }} --fail-at-end
run: mvn verify -pl $HTTP_TESTS --fail-at-end

- name: Collect reports
if: steps.jdi-compile.outcome == 'success'
Expand Down
5 changes: 4 additions & 1 deletion jdi-dark-bdd-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@
<profiles>
<profile>
<id>jdk16</id>
<activation>
<jdk>[16, 20]</jdk>
</activation>
<properties>
<aspectj.args>--add-opens java.base/java.lang=ALL-UNNAMED</aspectj.args>
<aspectj.args>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED</aspectj.args>
</properties>
</profile>
</profiles>
Expand Down
11 changes: 10 additions & 1 deletion jdi-dark-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.5</version>
<version>7.5.1</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
Expand Down Expand Up @@ -279,5 +279,14 @@
<log.level>DEBUG</log.level>
</properties>
</profile>
<profile>
<id>jdk16</id>
<activation>
<jdk>[16, 20]</jdk>
</activation>
<properties>
<aspectj.args>--add-opens java.base/java.lang=ALL-UNNAMED</aspectj.args>
</properties>
</profile>
</profiles>
</project>
21 changes: 16 additions & 5 deletions jdi-dark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<gson.version>2.8.9</gson.version>
<rest-assured.version>5.3.0</rest-assured.version>
<rest-assured.version>5.3.1</rest-assured.version>
<jdi-light-saber.version>3.0.7</jdi-light-saber.version>
<allure-rest-assured.version>2.14.0</allure-rest-assured.version>
<log4j2.version>2.17.1</log4j2.version>
<lombok.version>1.18.20</lombok.version>
<allure-rest-assured.version>2.23.0</allure-rest-assured.version>
<log4j2.version>2.20.0</log4j2.version>
<lombok.version>1.18.28</lombok.version>
<gpg.key></gpg.key>
</properties>

Expand Down Expand Up @@ -57,6 +57,17 @@
<groupId>com.jdiai.tools</groupId>
<artifactId>jdi-light-saber</artifactId>
<version>${jdi-light-saber.version}</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.15.2</version>
</dependency>
<dependency>
<groupId>io.qameta.allure</groupId>
Expand All @@ -76,7 +87,7 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
<version>1.4.11</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
Expand Down

0 comments on commit ebd3680

Please sign in to comment.