test #19
3 changed files with 27 additions and 1 deletions
16
.forgejo/workflows/verify-code.yaml
Normal file
16
.forgejo/workflows/verify-code.yaml
Normal 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
|
|
@ -18,7 +18,7 @@ public class UuidExtensionTest {
|
|||
void uuidAsBytes_success() {
|
||||
//When
|
||||
var result = UuidExtension.asBytes(TEST_UUID);
|
||||
|
||||
//
|
||||
//Then
|
||||
assertThat(result).hasSize(16).containsExactly(TEST_UUID_BYTES);
|
||||
}
|
||||
|
|
10
pom.xml
10
pom.xml
|
@ -85,6 +85,16 @@
|
|||
</executions>
|
||||
<version>3.4.0</version>
|
||||
</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>
|
||||
</build>
|
||||
</project>
|
Loading…
Reference in a new issue