Skip to content

Commit 0a9e209

Browse files
author
John Waller
committed
removing curl test because it is buggy and not that necessary
1 parent aeb45fc commit 0a9e209

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

.github/workflows/test-r-package.yml

-14
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,6 @@ jobs:
4747
cd backend-service
4848
nohup mvn spring-boot:run > spring_boot.log 2>&1 &
4949
50-
- name: Execute CURL command
51-
run: |
52-
URL="http://localhost:8080/occurrence/experimental/annotation/project"
53-
54-
while ! curl -s --head --request GET $URL | grep "200 OK" > /dev/null; do
55-
echo "Waiting for the service at $URL to become available..."
56-
sleep 10
57-
done
58-
echo "The service at $URL is up and responsive!"
59-
60-
curl -u "$GBIF_USER:$GBIF_PWD" -X POST http://localhost:8080/occurrence/experimental/annotation/project -H "Content-Type: application/json" -d '{"name":"test", "description":"test"}'
61-
sleep 10
62-
curl -X GET http://localhost:8080/occurrence/experimental/annotation/project
63-
6450
- name: Install libcurl and Others
6551
run: |
6652
sudo apt-get update

0 commit comments

Comments
 (0)