test2 #20

Closed
orikik wants to merge 10 commits from orikik:test2 into master
3 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,16 @@
name: Verify code phase
on:
pull_request:
push:
branches:
- test2
jobs:
verify-code:
name: Verify code
runs-on: docker
container: git.frostfs.info/truecloudlab/env:openjdk-11-maven-3.8.6
steps:
- uses: actions/checkout@v3
- name: Run the Maven verify phase
run: mvn --batch-mode --update-snapshots verify

View file

@ -18,7 +18,7 @@ public class UuidExtensionTest {
void uuidAsBytes_success() { void uuidAsBytes_success() {
//When //When
var result = UuidExtension.asBytes(TEST_UUID); var result = UuidExtension.asBytes(TEST_UUID);
//
//Then //Then
assertThat(result).hasSize(16).containsExactly(TEST_UUID_BYTES); assertThat(result).hasSize(16).containsExactly(TEST_UUID_BYTES);
} }

10
pom.xml
View file

@ -85,6 +85,16 @@
</executions> </executions>
<version>3.4.0</version> <version>3.4.0</version>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.0</version>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>