Skip to content

Commit

Permalink
chore: debug publish_action
Browse files Browse the repository at this point in the history
  • Loading branch information
tu6ge committed May 20, 2024
1 parent 4d68cc6 commit 724c2fb
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,34 +39,34 @@ jobs:
run: |
cargo install publish-action --version=0.3.4
- name: Run Test
run: |
cargo test --lib -- tests
cargo test --lib --no-default-features -- tests
# --all-features, exclude env_test features
cargo test --lib --features="blocking,sts,put_file,core,auth,decode" -- tests
cargo test --lib --features blocking --no-default-features tests
cargo test --lib --features blocking tests
cargo test --lib --features sts --no-default-features tests
cargo test --lib --features put_file --no-default-features tests
cargo test --lib --features core --no-default-features tests
cargo test --lib --features auth --no-default-features tests
cargo test --lib --features decode --no-default-features tests
cargo test --lib --jobs 1 --features env_test tests::env::client_from_env
cargo test --lib --jobs 1 --features env_test tests::env::config_from_env
cargo test --lib --jobs 1 --features env_test tests::env::bucket_base_from_env
cargo test --lib --jobs 1 --features env_test tests::env::end_point_from_env
# --all-features, exclude bench features
cargo test --doc --all-features
cd oss_derive
cargo test
cargo test --features blocking
# - name: Run Test
# run: |
# cargo test --lib -- tests
# cargo test --lib --no-default-features -- tests
# # --all-features, exclude env_test features
# cargo test --lib --features="blocking,sts,put_file,core,auth,decode" -- tests
# cargo test --lib --features blocking --no-default-features tests
# cargo test --lib --features blocking tests
# cargo test --lib --features sts --no-default-features tests
# cargo test --lib --features put_file --no-default-features tests
# cargo test --lib --features core --no-default-features tests
# cargo test --lib --features auth --no-default-features tests
# cargo test --lib --features decode --no-default-features tests
# cargo test --lib --jobs 1 --features env_test tests::env::client_from_env
# cargo test --lib --jobs 1 --features env_test tests::env::config_from_env
# cargo test --lib --jobs 1 --features env_test tests::env::bucket_base_from_env
# cargo test --lib --jobs 1 --features env_test tests::env::end_point_from_env
# # --all-features, exclude bench features
# cargo test --doc --all-features
# cd oss_derive
# cargo test
# cargo test --features blocking

- name: Run publish-action
if: ${{ github.event_name == 'push' }}
id: publish-action
run:
publish-action
uses: tu6ge/publish-action@master
with:
dir: 'oss_derive'
tag_prefix: "test_"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
Expand Down

0 comments on commit 724c2fb

Please sign in to comment.