mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
added http-get test
This commit is contained in:
parent
105e6c6eae
commit
ab1f87fc3d
12
.github/workflows/basic_cli_build_release.yml
vendored
12
.github/workflows/basic_cli_build_release.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user