mirror of
https://github.com/minio/minio-rs.git
synced 2025-12-06 15:26:51 +08:00
Added below S3 APIs * abort_multipart_upload() * bucket_exists() * complete_multipart_upload() * create_multipart_upload() * get_object() * list_buckets() * list_objects_v1() * list_objects_v2() * list_object_versions() * list_objects() * make_bucket() * put_object() * put_object_api() * remove_bucket() * remove_object() * remove_objects_api() * remove_objects() * select_object_content() * stat_object() * upload_part() Signed-off-by: Bala.FA <bala@minio.io>
40 lines
975 B
YAML
40 lines
975 B
YAML
name: MinIO Rust Library
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
# - uses: actions-rs/toolchain@v1
|
|
# with:
|
|
# toolchain: stable
|
|
|
|
- name: Check style
|
|
run: |
|
|
cargo fmt --all -- --check
|
|
|
|
- name: Start MinIO server
|
|
run: |
|
|
wget --quiet https://dl.min.io/server/minio/release/linux-amd64/minio
|
|
chmod +x minio
|
|
mkdir -p ~/.minio/certs
|
|
cp ./tests/public.crt ./tests/private.key ~/.minio/certs/
|
|
sudo cp ./tests/public.crt /usr/local/share/ca-certificates/
|
|
sudo update-ca-certificates
|
|
MINIO_CI_CD=true ./minio server /tmp/test-xl/{1...4}/ &
|
|
sleep 10
|
|
|
|
- name: Run tests
|
|
run: |
|
|
SERVER_ENDPOINT=https://localhost:9000/ ACCESS_KEY=minioadmin SECRET_KEY=minioadmin cargo test --verbose -- --nocapture
|