Skip to content

Commit e3459f6

Browse files
committed
ci
1 parent 65919dd commit e3459f6

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/_build-rust.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ jobs:
6262
- run: cargo version
6363
- name: Select Workspace Member
6464
run: |
65-
export PROJ_ROOT="$(pwd)"
66-
echo "PROJ_ROOT=$PROJ_ROOT"
6765
cd ${{ inputs.workspace-member }}
6866
- name: Code Formatting
6967
if: ${{ inputs.do-style-check }}
@@ -81,10 +79,7 @@ jobs:
8179
curl -LsSf https://get.nexte.st/latest/linux | tar zxf -
8280
chmod u+x cargo-nextest
8381
./cargo-nextest nextest run --profile ci
84-
echo "PROJ_ROOT=$PROJ_ROOT"
85-
echo "$PROJ_ROOT/target/nextest/ci/junit.xml"
86-
ls -lR "$PROJ_ROOT/target"
87-
test -f $PROJ_ROOT/target/nextest/ci/junit.xml
82+
test -f $GITHUB_WORKSPACE/target/nextest/ci/junit.xml
8883
# Upload junit.xml generated by cargo nextest which results in
8984
# a nice overview over failed test-cases in the GitHub UI.
9085
- name: Upload Unit Test Report
@@ -94,5 +89,5 @@ jobs:
9489
with:
9590
# Name of the check run which will be created
9691
name: cargo unit tests
97-
path: $PROJ_ROOT/target/nextest/ci/junit.xml
92+
path: $GITHUB_WORKSPACE/target/nextest/ci/junit.xml
9893
reporter: java-junit

0 commit comments

Comments
 (0)