Skip to content

Commit

Permalink
Refactor CleanRemove method verifications in ScaleReverseTest
Browse files Browse the repository at this point in the history
Streamlined the verification of CleanRemove method calls in various test functions within ScaleReverseTest. The ArgumentMatchers usage has been modified from having anyInt() combined with any(Iterator.class) to just use any(). This increases the readability of method call verifications and bolsters test integrity.
  • Loading branch information
SmartGecko44 committed Dec 5, 2023
1 parent 0275b7d commit 34ed51d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,19 @@ jobs:
run: mkdir -p target

- name: Build with Maven
run: mvn verify --file ../pom.xml
working-directory: target
run: mvn verify --file pom.xml

- name: Create filtered-artifacts
run: mkdir -p filtered-artifacts

- name: Filter and Upload JAR as an artifact
run: |
# Filter out files that start with 'Wauh' and upload the rest
find -type f -name Wauh*.jar -exec cp {} filtered-artifacts/ \;
find target -type f -name Wauh*.jar -exec cp {} filtered-artifacts/ \;
- name: Upload JAR as an artifact
uses: actions/upload-artifact@v3
with:
name: Wauh-${{ github.run_number }}
path: filtered-artifacts
if-no-files-found: error
if-no-files-found: error

0 comments on commit 34ed51d

Please sign in to comment.