Skip to content

Commit 1aa4d82

Browse files
committed
ci: test cookiecutter generated project
1 parent 574831a commit 1aa4d82

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/scaffold.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ jobs:
2121
- name: Install cookiecutter
2222
run: |
2323
pip install cookiecutter
24-
# - name: Test cookiecutter
25-
# run: |
26-
# cookiecutter . --no-input
27-
# - name: Set up JDK 21
28-
# uses: actions/setup-java@v1
29-
# with:
30-
# java-version: 21
31-
# - name: Cache Maven packages
32-
# uses: actions/cache@v2
33-
# with:
34-
# path: ~/.m2
35-
# key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
36-
# restore-keys: ${{ runner.os }}-m2
37-
# - name: Build with Maven
38-
# run: cd sample && mvn clean install -ntp
24+
- name: Test cookiecutter
25+
run: |
26+
cookiecutter --config-file=test-config.yml --no-input .
27+
- name: Set up JDK 21
28+
uses: actions/setup-java@v1
29+
with:
30+
java-version: 21
31+
- name: Cache Maven packages
32+
uses: actions/cache@v2
33+
with:
34+
path: ~/.m2
35+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
36+
restore-keys: ${{ runner.os }}-m2
37+
- name: Build with Maven
38+
run: cd sample && mvn clean install -ntp

0 commit comments

Comments
 (0)