mirror of
https://github.com/stCarolas/setup-maven.git
synced 2025-02-26 01:25:43 +00:00
Correct GitHub actions workflow Integration Tests
This commit is contained in:
parent
187689f108
commit
d0e5e9b802
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -28,8 +28,8 @@ jobs:
|
|||||||
java-version: 8
|
java-version: 8
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
- name: Setup Maven ${{ matrix.version }}
|
- name: Setup Maven ${{ matrix.version }}
|
||||||
|
uses: .
|
||||||
id: setup-maven
|
id: setup-maven
|
||||||
uses: thachnn/setup-maven@${{ github.ref_name }}
|
|
||||||
with:
|
with:
|
||||||
maven-version: ${{ matrix.version }}
|
maven-version: ${{ matrix.version }}
|
||||||
- if: steps.setup-maven.outputs.version != matrix.expected
|
- if: steps.setup-maven.outputs.version != matrix.expected
|
||||||
|
@ -105,7 +105,7 @@ describe('integration tests', () => {
|
|||||||
await run();
|
await run();
|
||||||
expect(core.info).toHaveBeenCalledWith(
|
expect(core.info).toHaveBeenCalledWith(
|
||||||
expect.stringMatching(
|
expect.stringMatching(
|
||||||
new RegExp(`Use.* version ${REAL_VERSION} instead of.* ${TEST_VERSION}`, 'i')
|
new RegExp(`Use.* version ${REAL_VERSION} instead of.* ${TEST_VERSION.charAt(0)}\\.`, 'i')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user