added http-get test

This commit is contained in:
Anton-4 2023-02-07 19:24:05 +01:00
parent 105e6c6eae
commit ab1f87fc3d
No known key found for this signature in database
GPG Key ID: 0971D718C0A9B937

View File

@ -164,7 +164,15 @@ jobs:
- run: cd basic-cli-platform && ls | grep "tar" | xargs tar -xzf
- run: tree basic-cli-platform
- name: prep testing http-get.roc
- run: |
cd basic-cli-platform
curl -OL https://github.com/roc-lang/basic-cli/blob/main/examples/http-get.roc
curl -OL https://github.com/roc-lang/basic-cli/blob/main/ci/expect_scripts/http-get.exp
sed -i 's/pf:\ \"[^"]*/pf:\ \"main.roc/g' http-get.roc
# TODO do test run with prebuilt platform
- run: sudo apt install -y expect
- name: execute test
run: expect http-get.exp