File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,14 @@ jobs:
117
117
MALLOC_CONF : " background_thread:true,abort_conf:true,abort:true,junk:true"
118
118
119
119
steps :
120
+ - uses : easimon/maximize-build-space@master
121
+ with :
122
+ remove-dotnet : true
123
+ remove-android : true
124
+ remove-haskell : true
125
+ remove-codeql : true
126
+ remove-docker-images : true
127
+
120
128
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
121
129
- uses : Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
122
130
@@ -125,13 +133,12 @@ jobs:
125
133
- run : sudo systemctl start postgresql.service
126
134
- run : sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD 'postgres'"
127
135
128
- - run : mkdir /mnt/target target
129
- - run : cargo build --tests --workspace --target-dir=/mnt/target
130
- - run : cargo test --workspace --target-dir=/mnt/target
136
+ - run : cargo build --tests --workspace
137
+ - run : cargo test --workspace
131
138
132
139
- run : curl -sL https://github.com/mozilla/grcov/releases/download/v${{ env.GRCOV_VERSION }}/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar xjf -
133
140
- run : rustup component add llvm-tools
134
- - run : ./grcov . --binary-path /mnt/ target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" --ignore "/mnt/ target/debug/build/**" -o target/coverage.lcov
141
+ - run : ./grcov . --binary-path ./ target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" --ignore "target/debug/build/**" -o target/coverage.lcov
135
142
136
143
- uses : codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
137
144
with :
You can’t perform that action at this time.
0 commit comments