Skip to content

Commit 89748a0

Browse files
author
Christian Newman
committed
git workflow
1 parent bde70e2 commit 89748a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: SCALAR Tagger CI
22

33
on:
44
push:
5-
branches: [ master, develop ]
5+
branches: [ master, develop, distilbert ]
66
pull_request:
77
branches: [ master, develop ]
88

@@ -78,12 +78,12 @@ jobs:
7878
7979
- name: Start tagger server
8080
run: |
81-
./main -r &
81+
python main --mode run --model_type lm_based
8282
8383
# Wait for up to 5 minutes for the service to start and load models
8484
timeout=300
8585
while [ $timeout -gt 0 ]; do
86-
if curl -s "http://localhost:8080/cache/numberArray/DECLARATION" > /dev/null; then
86+
if curl -s "http://localhost:8080/numberArray/DECLARATION" > /dev/null; then
8787
echo "Service is ready"
8888
break
8989
fi
@@ -101,7 +101,7 @@ jobs:
101101
102102
- name: Test tagger endpoint
103103
run: |
104-
response=$(curl -s "http://localhost:8080/cache/numberArray/DECLARATION")
104+
response=$(curl -s "http://localhost:8080/numberArray/DECLARATION")
105105
if [ -z "$response" ]; then
106106
echo "No response from tagger"
107107
exit 1

0 commit comments

Comments
 (0)