Skip to content

Commit e8b6c02

Browse files
committed
Split Mill tests into separate steps
1 parent 673f714 commit e8b6c02

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

.github/workflows/mill-plugin-tests.yaml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,27 @@ jobs:
3535
restore-keys: |
3636
${{ runner.os }}-test-mill-plugin-${{ env.cache-name }}-
3737
${{ runner.os }}-test-mill-plugin-
38-
- name: Run tests
38+
- name: Maven Clean Install
3939
env:
4040
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
4141
run: |
4242
./mvnw clean install -DskipTests -Dmaven.javadoc.skip=true
43-
(cd modules/openapi-generator-mill-plugin/example/ && ./mill __.compile)
44-
(cd modules/openapi-generator-mill-plugin/example/ && ./mill openapi.validate)
43+
44+
- name: Mill Example - Test Validation Command
45+
env:
46+
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
47+
run: |
4548
(cd modules/openapi-generator-mill-plugin/example/ && ./mill validateOpenapiSpec $(pwd)/api/petstore-invalid.yaml)
49+
50+
- name: Mill Example - Test Validation Task
51+
env:
52+
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
53+
run: |
54+
(cd modules/openapi-generator-mill-plugin/example/ && ./mill openapi.validate)
55+
56+
- name: Mill Example - Test Compile Task
57+
env:
58+
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
59+
run: |
60+
(cd modules/openapi-generator-mill-plugin/example/ && ./mill __.compile)
4661

0 commit comments

Comments
 (0)