File tree 1 file changed +8
-9
lines changed
1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 77
77
run : |
78
78
cargo install cargo2junit 2>/dev/null || true # Suppress the "binary `xyz` already exists in destination" error
79
79
cargo install cargo-sort 2>/dev/null || true
80
-
81
- # - name: Cargo build
80
+
81
+ - name : Run tests
82
+ shell : bash
83
+ run : |
84
+ set -o pipefail && cargo test --release -p $CARGO_PROJECT_NAME -- -Z unstable-options --format json --report-time | tee >(cargo2junit > test-results-${{ env.ARTIFACTS_PATTERN }}.xml)
85
+
86
+
87
+ # - name: Cargo build
82
88
# uses: actions-rs/cargo@v1
83
89
# with:
84
90
# command: build
@@ -106,13 +112,6 @@ jobs:
106
112
# - name: Cargo sort
107
113
# run: |
108
114
# cargo sort -c ${{ matrix.project }}/Cargo.toml
109
-
110
- - name : Run tests
111
- if : ${{ matrix.skip_tests != true }}
112
- shell : bash
113
- run : |
114
- set -o pipefail && cargo test --release -p $CARGO_PROJECT_NAME -- -Z unstable-options --format json --report-time | tee >(cargo2junit > test-results-${{ env.ARTIFACTS_PATTERN }}.xml)
115
-
116
115
# - name: Upload Tests Results
117
116
# if: ${{ always() && matrix.skip_tests != true }}
118
117
# uses: actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments