File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ jobs:
201201 working-directory : cpp-linter-lib
202202 env :
203203 CLANG_VERSION : ' 18'
204- run : just test
204+ run : just test --run-ignored=all
205205
206206 - name : Generate Coverage HTML report
207207 working-directory : cpp-linter-lib
Original file line number Diff line number Diff line change @@ -412,6 +412,7 @@ mod test {
412412 }
413413
414414 #[ tokio:: test]
415+ #[ ignore]
415416 async fn with_no_changed_sources ( ) {
416417 // commit with no modified C/C++ sources
417418 let sha = "0c236809891000b16952576dc34de082d7a40bf3" ;
@@ -426,6 +427,7 @@ mod test {
426427 }
427428
428429 #[ tokio:: test]
430+ #[ ignore]
429431 async fn with_changed_sources ( ) {
430432 // commit with modified C/C++ sources
431433 let sha = "950ff0b690e1903797c303c5fc8d9f3b52f1d3c5" ;
@@ -445,6 +447,7 @@ mod test {
445447 }
446448
447449 #[ tokio:: test]
450+ #[ ignore]
448451 async fn with_staged_changed_sources ( ) {
449452 // commit with no modified C/C++ sources
450453 let sha = "0c236809891000b16952576dc34de082d7a40bf3" ;
Original file line number Diff line number Diff line change @@ -899,12 +899,14 @@ mod test {
899899 }
900900
901901 #[ tokio:: test]
902+ #[ ignore]
902903 #[ should_panic( expected = "REST API secondary rate limit exceeded" ) ]
903904 async fn secondary_rate_limit ( ) {
904905 simulate_rate_limit ( true ) . await ;
905906 }
906907
907908 #[ tokio:: test]
909+ #[ ignore]
908910 #[ should_panic( expected = "REST API rate limit exceeded!" ) ]
909911 async fn primary_rate_limit ( ) {
910912 simulate_rate_limit ( false ) . await ;
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ py-dev:
1919
2020# run the test suite
2121[group (" code coverage" )]
22- test :
22+ test * args = ' ' :
2323 cargo llvm-cov --no-report \
2424 nextest --manifest-path cpp-linter-lib/ Cargo.toml \
25- - -lib --tests --color always
25+ - -lib --tests --color always {{ args }}
2626
2727# Clear previous test build artifacts
2828[group (" code coverage" )]
You can’t perform that action at this time.
0 commit comments