-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(services-http): Implement write and delete for testing (#451)
* Implement write and delete for testing Signed-off-by: Xuanwo <github@xuanwo.io> * Add docs for http services Signed-off-by: Xuanwo <github@xuanwo.io> * Save work Signed-off-by: Xuanwo <github@xuanwo.io> * Implement http test Signed-off-by: Xuanwo <github@xuanwo.io> * Add CI for services test Signed-off-by: Xuanwo <github@xuanwo.io> * Allow use https as scheme Signed-off-by: Xuanwo <github@xuanwo.io> * Fix CI Signed-off-by: Xuanwo <github@xuanwo.io> * Fix CI Signed-off-by: Xuanwo <github@xuanwo.io> * Fix clippy Signed-off-by: Xuanwo <github@xuanwo.io>
- Loading branch information
Showing
9 changed files
with
265 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Service Test HTTP | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- "docs/**" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
local_fs: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macos-11 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Start oay in background | ||
shell: bash | ||
working-directory: ./oay | ||
run: | | ||
cargo build | ||
cargo run -- http & | ||
env: | ||
RUST_BACKTRACE: full | ||
RUST_LOG: debug | ||
OAY_BACKEND_FS_ROOT: /tmp/oay/ | ||
|
||
- name: Test | ||
shell: bash | ||
run: cargo test http --features compress,retry,services-http -- --nocapture | ||
env: | ||
RUST_BACKTRACE: full | ||
RUST_LOG: debug | ||
OPENDAL_HTTP_TEST: on | ||
OPENDAL_HTTP_ENDPOINT: http://127.0.0.1:8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
edea05f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for opendal ready!
✅ Preview
https://opendal-8tb3an59p-databend.vercel.app
Built with commit edea05f.
This pull request is being automatically deployed with vercel-action