Skip to content

Commit

Permalink
+test
Browse files Browse the repository at this point in the history
  • Loading branch information
SRetip committed Mar 22, 2024
1 parent 375f6aa commit cc13981
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/standard_rust_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ jobs :
if : ${{ needs.check.outputs.should_run == 'true' }}
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
with :
manifest_path : "./Cargo.toml"
manifest_path : './Cargo.toml'
module_name : ${{ github.event.base.ref }}_${{ github.event.number }}
commit_message : "+test_${{ github.event.base.ref }}_${{ github.event.number }}"
14 changes: 4 additions & 10 deletions .github/workflows/standard_rust_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,6 @@ jobs :
override : true
attempt_limit : 3
attempt_delay: 10000
- name: Set MANIFEST_ROOT_PATH
id: rootpath
shell: bash
run: |
if [[ ${{ inputs.manifest_path }} == "" || ${{ inputs.manifest_path }} == "./Cargo.toml" ]]; then
echo "path=" >> $GITHUB_ENV
else
echo "path=$(dirname ${{ inputs.manifest_path }})" >> $GITHUB_ENV
fi
- name: Install latest nightly toolchain
uses: Wandalen/wretry.action@master
with:
Expand All @@ -160,5 +151,8 @@ jobs :
- uses: actions/checkout@v3
- name: Install will
run: cargo install --git https://github.com/Wandalen/wTools --branch alpha willbe
- name: Set MANIFEST_ROOT_PATH
id: rootpath
run: echo "::set-output name=path::$(dirname ${{ inputs.manifest_path }})"
- name: Run tests with each feature
run: will .test ${{ steps.rootpath.outputs.path }} dry:0 exclude:'' with_all_features:1 with_debug:1 with_nightly:1 with_none_features:1 with_release:1 with_stable:1
run: will .test ${{ steps.rootpath.outputs.path }}/ dry:0 exclude:'' with_all_features:1 with_debug:1 with_nightly:1 with_none_features:1 with_release:1 with_stable:1
2 changes: 1 addition & 1 deletion .github/workflows/standard_rust_scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs :
if : ${{ needs.check.outputs.should_run == 'true' }}
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
with :
manifest_path : "./Cargo.toml"
manifest_path : './Cargo.toml'
module_name : $\{{ github.event.base.ref }}_$\{{ github.event.number }}
commit_message : '+test_$\{{ github.event.base.ref }}_$\{{ github.event.number }}'
10 changes: 2 additions & 8 deletions module/move/willbe/template/workflow/standard_rust_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,6 @@ jobs :
run: cargo install --git https://github.com/Wandalen/wTools --branch alpha willbe
- name: Set MANIFEST_ROOT_PATH
id: rootpath
shell: bash
run: |
if [[ "${{ inputs.manifest_path }}" == "" || "${{ inputs.manifest_path }}" == "./Cargo.toml" ]]; then
echo "path=" >> $GITHUB_ENV
else
echo "path=$(dirname ${{ inputs.manifest_path }})" >> $GITHUB_ENV
fi
run: echo "::set-output name=path::$(dirname ${{ inputs.manifest_path }})"
- name: Run tests with each feature
run: will .test ${{ steps.rootpath.outputs.path }} dry:0 exclude:'' with_all_features:1 with_debug:1 with_nightly:1 with_none_features:1 with_release:1 with_stable:1
run: will .test ${{ steps.rootpath.outputs.path }}/ dry:0 exclude:'' with_all_features:1 with_debug:1 with_nightly:1 with_none_features:1 with_release:1 with_stable:1

0 comments on commit cc13981

Please sign in to comment.