11name : Formatting, Linting, License Checks and Testing
22on :
33 push :
4- branches : [ "main" ]
4+ branches : ["main"]
55 pull_request :
6- branches : [ "main" ]
6+ branches : ["main"]
77
88env :
99 CARGO_TERM_COLOR : always
6262 run : rustup +${RUST_VERSION} component add clippy
6363 - name : check
6464 run : cargo +${RUST_VERSION} clippy --verbose --all-targets --all-features
65-
65+
6666 # Run tests on Linux
6767 test-linux :
6868 needs : clippy
@@ -77,19 +77,19 @@ jobs:
7777 - name : Install Dependencies (Z3,CVC5,Graphviz)
7878 run : sudo apt-get install -y z3 cvc5 graphviz
7979 - name : Install Nextest
80- run : cargo +${RUST_VERSION} install cargo-nextest
80+ run : cargo +${RUST_VERSION} install cargo-nextest --locked
8181 - name : Run unittests
8282 run : cargo +${RUST_VERSION} nextest run -P ci --verbose --all-targets --all-features
8383 - name : Publish Test Report
8484 uses : ctrf-io/github-test-reporter@v1
8585 if : always() # always run
8686 with :
8787 # Core Configuration
88- report-path : ' target/nextest/ci/test-output.xml' # Path or glob pattern to the CTRF report JSON file.
88+ report-path : " target/nextest/ci/test-output.xml" # Path or glob pattern to the CTRF report JSON file.
8989 # Reports - Choose as many as you like. Default is false. Choosing none will use default reports.
9090 summary-report : true
9191 summary : true # Post report to the job summary. Default is true
92- title : ' Test Report Linux' # Set a custom title to display on the report.
92+ title : " Test Report Linux" # Set a custom title to display on the report.
9393 integrations-config : |
9494 {
9595 "junit-to-ctrf": {
@@ -105,7 +105,7 @@ jobs:
105105 }
106106 }
107107 }
108-
108+
109109 # Run tests on macOS
110110 test-macos :
111111 needs : clippy
@@ -122,19 +122,19 @@ jobs:
122122 - name : Install CVC5
123123 run : brew install --cask cvc5/cvc5/cvc5
124124 - name : Install Nextest
125- run : cargo +${RUST_VERSION} install cargo-nextest
125+ run : cargo +${RUST_VERSION} install cargo-nextest --locked
126126 - name : Run unittests
127127 run : cargo +${RUST_VERSION} nextest run -P ci --verbose --all-targets --all-features
128128 - name : Publish Test Report
129129 uses : ctrf-io/github-test-reporter@v1
130130 if : always() # always run
131131 with :
132132 # Core Configuration
133- report-path : ' target/nextest/ci/test-output.xml' # Path or glob pattern to the CTRF report JSON file.
133+ report-path : " target/nextest/ci/test-output.xml" # Path or glob pattern to the CTRF report JSON file.
134134 # Reports - Choose as many as you like. Default is false. Choosing none will use default reports.
135135 summary-report : true
136136 summary : true # Post report to the job summary. Default is true
137- title : ' Test Report MacOS' # Set a custom title to display on the report.
137+ title : " Test Report MacOS" # Set a custom title to display on the report.
138138 integrations-config : |
139139 {
140140 "junit-to-ctrf": {
@@ -177,7 +177,7 @@ jobs:
177177 hide_complexity : true
178178 indicators : true
179179 output : both
180- thresholds : ' 90 95'
180+ thresholds : " 90 95"
181181 - name : Print coverage report to summary
182182 run : |
183183 cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
0 commit comments