Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe29d70

Browse files
committed
update release workflow
1 parent 74f2002 commit fe29d70

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

.github/workflows/release.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -137,24 +137,24 @@ jobs:
137137
- name: Run tests
138138
run: mvn test
139139

140-
test-macos:
141-
name: Test Mac
142-
needs: build-macos-native
143-
runs-on: macos-14
144-
steps:
145-
- uses: actions/checkout@v4
146-
- uses: actions/download-artifact@v3
147-
with:
148-
name: artifacts
149-
path: ${{ github.workspace }}/src/main/resources/de/kherud/llama/
150-
- name: Download model
151-
run: curl -L ${MODEL_URL} --create-dirs -o models/${MODEL_NAME}
152-
- uses: actions/setup-java@v4
153-
with:
154-
distribution: 'zulu'
155-
java-version: '11'
156-
- name: Run tests
157-
run: mvn test
140+
# test-macos:
141+
# name: Test Mac
142+
# needs: build-macos-native
143+
# runs-on: macos-14
144+
# steps:
145+
# - uses: actions/checkout@v4
146+
# - uses: actions/download-artifact@v3
147+
# with:
148+
# name: artifacts
149+
# path: ${{ github.workspace }}/src/main/resources/de/kherud/llama/
150+
# - name: Download model
151+
# run: curl -L ${MODEL_URL} --create-dirs -o models/${MODEL_NAME}
152+
# - uses: actions/setup-java@v4
153+
# with:
154+
# distribution: 'zulu'
155+
# java-version: '11'
156+
# - name: Run tests
157+
# run: mvn test
158158

159159

160160
# test-windows:
@@ -179,7 +179,7 @@ jobs:
179179

180180
publish:
181181
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.build_only == 'no' }}
182-
needs: [ test-linux,test-macos,build-win-native ]
182+
needs: [ test-linux,build-macos-native,build-win-native ]
183183
runs-on: ubuntu-latest
184184
steps:
185185
- uses: actions/checkout@v4

src/test/java/de/kherud/llama/LlamaModelTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ public void testCompleteInfillCustom() {
125125
Assert.assertFalse(output.isEmpty());
126126
}
127127

128-
@Ignore
129128
@Test
130129
public void testCompleteGrammar() {
131130
InferenceParameters params = new InferenceParameters("")

0 commit comments

Comments
 (0)