Skip to content

Commit

Permalink
Fix CI (#29)
Browse files Browse the repository at this point in the history
* copying tsp-instrument from tsp-toolkit-kic-cli

* Revert "copying tsp-instrument from tsp-toolkit-kic-cli"

This reverts commit 1acf97b.

* Revert "Revert "copying tsp-instrument from tsp-toolkit-kic-cli""

This reverts commit 77501a5.

* adding gitignore and gitattributes files

* taking latest chages from tsp-toolkit-kic-cli

* fixing package name (#3)

* Update Login (#4)

* fixing package name

* Update Login

* updating other files

* updating cargo.toml file

* updating doc test

* updating cargo.toml

* Update login (#5)

* fixing package name

* Update Login

* updating other files

* updating cargo.toml file

* updating doc test

* updating cargo.toml

* updating test cases

* Task/tsp 476 submodule fix test cases (#7)

* fixing package name

* Update Login

* updating other files

* updating cargo.toml file

* updating doc test

* updating cargo.toml

* updating test cases

* updating style

* TSP-480-AuthenticationImplementation (#8)

* TSP-480 Adding authentication struct.

* reverting instrumlent's mod file

* Revert "reverting instrumlent's mod file"

This reverts commit c498492e9e88568ada1781dbe3f52aa8b3dd5cf5.

* TSP-480-PromptPassword (#9)

* fixing test failure and adding github workflow ci-cd

* adding npm package and improving prompt message

* Use Tarpaulin for Coverage (#10)

* Use Tarpaulin for Coverage

* Fix cargo-tarpaulin install

* fix tarpaulin install location

* Move the environment to each of the steps that need it

* force the use of the llvm engine

---------

Co-authored-by: Sarver, Edwin <[email protected]>

* Task/tsp 480 prompt password (#11)

* updating instrumentinfo when creating object

* updatin login info trait in instruments crate.

* fixing login issue (#12)

* Only Take 31 Bytes From Provided Name (#13)

* Only Take 32 Bytes From Provided Name

- FW issue tracked in NS-2201

Closes TSP-415

* Limit Name to 31 Characters for Added Safety

- I'm fairly sure the underlying fw code allocates 32 bytes to the string, which would include the `\0` at the end

* Normalize Repos (#14)

* Create CODEOWNERS File

* Create CHANGELOG.md File

* reading *idn if lxi_page does not work (#15)

* TSP-517 Debugger does not start (#17)

* changing rpassword function use

* updating changelog

* resolve fmt issue

* Add Release Workflow (#16)

* Release v0.13.0 (#18) (#19)

* copying tsp-instrument from tsp-toolkit-kic-cli

* Revert "copying tsp-instrument from tsp-toolkit-kic-cli"

This reverts commit 1acf97b.

* Revert "Revert "copying tsp-instrument from tsp-toolkit-kic-cli""

This reverts commit 77501a5.

* adding gitignore and gitattributes files

* taking latest chages from tsp-toolkit-kic-cli

* fixing package name (#3)

* Update Login (#4)

* fixing package name

* Update Login

* updating other files

* updating cargo.toml file

* updating doc test

* updating cargo.toml

* Update login (#5)

* fixing package name

* Update Login

* updating other files

* updating cargo.toml file

* updating doc test

* updating cargo.toml

* updating test cases

* Task/tsp 476 submodule fix test cases (#7)

* fixing package name

* Update Login

* updating other files

* updating cargo.toml file

* updating doc test

* updating cargo.toml

* updating test cases

* updating style

* TSP-480-AuthenticationImplementation (#8)

* TSP-480 Adding authentication struct.

* reverting instrumlent's mod file

* Revert "reverting instrumlent's mod file"

This reverts commit c498492e9e88568ada1781dbe3f52aa8b3dd5cf5.

* TSP-480-PromptPassword (#9)

* fixing test failure and adding github workflow ci-cd

* adding npm package and improving prompt message

* Use Tarpaulin for Coverage (#10)

* Use Tarpaulin for Coverage

* Fix cargo-tarpaulin install

* fix tarpaulin install location

* Move the environment to each of the steps that need it

* force the use of the llvm engine

---------



* Task/tsp 480 prompt password (#11)

* updating instrumentinfo when creating object

* updatin login info trait in instruments crate.

* fixing login issue (#12)

* Only Take 31 Bytes From Provided Name (#13)

* Only Take 32 Bytes From Provided Name

- FW issue tracked in NS-2201

Closes TSP-415

* Limit Name to 31 Characters for Added Safety

- I'm fairly sure the underlying fw code allocates 32 bytes to the string, which would include the `\0` at the end

* Normalize Repos (#14)

* Create CODEOWNERS File

* Create CHANGELOG.md File

* reading *idn if lxi_page does not work (#15)

* TSP-517 Debugger does not start (#17)

* changing rpassword function use

* updating changelog

* resolve fmt issue

* Add Release Workflow (#16)

* We don't need a package.json for this pure-rust project.

* Update Version Information

* Remove NPM Steps

* No Executable Output for this Repo

* Fix Changelog formatting

---------

Co-authored-by: sjaffery <[email protected]>
Co-authored-by: Jha, Rajeev <[email protected]>

* TSP-582-password prompt message update (#21)

* password prompt message update

* resolving fmt issue.

* Merge main back to dev (#25)

* Release v0.13.0 (#18)

* copying tsp-instrument from tsp-toolkit-kic-cli

* Revert "copying tsp-instrument from tsp-toolkit-kic-cli"

This reverts commit 1acf97b.

* Revert "Revert "copying tsp-instrument from tsp-toolkit-kic-cli""

This reverts commit 77501a5.

* adding gitignore and gitattributes files

* taking latest chages from tsp-toolkit-kic-cli

* fixing package name (#3)

* Update Login (#4)

* fixing package name

* Update Login

* updating other files

* updating cargo.toml file

* updating doc test

* updating cargo.toml

* Update login (#5)

* fixing package name

* Update Login

* updating other files

* updating cargo.toml file

* updating doc test

* updating cargo.toml

* updating test cases

* Task/tsp 476 submodule fix test cases (#7)

* fixing package name

* Update Login

* updating other files

* updating cargo.toml file

* updating doc test

* updating cargo.toml

* updating test cases

* updating style

* TSP-480-AuthenticationImplementation (#8)

* TSP-480 Adding authentication struct.

* reverting instrumlent's mod file

* Revert "reverting instrumlent's mod file"

This reverts commit c498492e9e88568ada1781dbe3f52aa8b3dd5cf5.

* TSP-480-PromptPassword (#9)

* fixing test failure and adding github workflow ci-cd

* adding npm package and improving prompt message

* Use Tarpaulin for Coverage (#10)

* Use Tarpaulin for Coverage

* Fix cargo-tarpaulin install

* fix tarpaulin install location

* Move the environment to each of the steps that need it

* force the use of the llvm engine

---------

Co-authored-by: Sarver, Edwin <[email protected]>

* Task/tsp 480 prompt password (#11)

* updating instrumentinfo when creating object

* updatin login info trait in instruments crate.

* fixing login issue (#12)

* Only Take 31 Bytes From Provided Name (#13)

* Only Take 32 Bytes From Provided Name

- FW issue tracked in NS-2201

Closes TSP-415

* Limit Name to 31 Characters for Added Safety

- I'm fairly sure the underlying fw code allocates 32 bytes to the string, which would include the `\0` at the end

* Normalize Repos (#14)

* Create CODEOWNERS File

* Create CHANGELOG.md File

* reading *idn if lxi_page does not work (#15)

* TSP-517 Debugger does not start (#17)

* changing rpassword function use

* updating changelog

* resolve fmt issue

* Add Release Workflow (#16)

* We don't need a package.json for this pure-rust project.

* Update Version Information

* Remove NPM Steps

* No Executable Output for this Repo

* Fix Changelog formatting

---------

Co-authored-by: sjaffery <[email protected]>
Co-authored-by: Jha, Rajeev <[email protected]>

* Release v0.13.2 (#20)

* Merged dev to release/v0.13.2

* Update dependencies and version numbers

* Update Changelog

* Remove unnecessary npm manifests

* Add correct PR types

* Remove `abort` from `Instrument::drop()` impls

* Task/TSP-576-update-deps (#23)

* Update dependency versions

* fix clippy warnings

* Don't pin versions, since this is a library crate

* fix clippy lints

---------

Co-authored-by: sjaffery <[email protected]>
Co-authored-by: Jha, Rajeev <[email protected]>

* Bump version numbers

* Fix Cargo CycloneDX call

* disable tarpaulin

---------

Co-authored-by: sjaffery <[email protected]>
Co-authored-by: Jha, Rajeev <[email protected]>
  • Loading branch information
3 people authored Mar 20, 2024
1 parent 215d9de commit 16f0609
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Generate Rust BOM
run: cargo cyclonedx --format json --output-prefix cargo --output-cdx --all
run: cargo cyclonedx --format json --all --describe crate -vvv
- name: Upload Results
uses: actions/upload-artifact@v3
with:
Expand All @@ -75,8 +75,9 @@ jobs:
steps:
- name: Tool Versions
run: |
cargo install cargo-tarpaulin
cargo tarpaulin --version
# TODO reinstate after this issue closes: https://github.com/xd009642/tarpaulin/issues/1493
# cargo install cargo-tarpaulin
# cargo tarpaulin --version
cargo --version
grcov --version
- name: Checkout
Expand All @@ -90,17 +91,18 @@ jobs:
- name: Run Tests
run: |
mkdir -p "${{env.TEST_DIR}}"
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --engine llvm --out xml --output-dir ${{env.TEST_DIR}}
# TODO reinstate after this issue closes: https://github.com/xd009642/tarpaulin/issues/1493
# cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --engine llvm --out xml --output-dir ${{env.TEST_DIR}}
cargo test --all -- -Z unstable-options --format json --report-time > ${{env.TEST_DIR}}/cargo_test.json
env:
CARGO_HOME: ".cargo"
TEST_DIR: "test-results"
- name: Process Test Results
run: |
cat ${{env.TEST_DIR}}/cargo_test.json | cargo2junit > ${{env.TEST_DIR}}/report.xml
env:
CARGO_HOME: ".cargo"
TEST_DIR: "test-results"
# - name: Process Test Results
# run: |
# cat ${{env.TEST_DIR}}/cargo_test.json | cargo2junit > ${{env.TEST_DIR}}/report.xml
# env:
# CARGO_HOME: ".cargo"
# TEST_DIR: "test-results"
- name: Upload Results
uses: actions/upload-artifact@v3
if: ${{always()}}
Expand Down

0 comments on commit 16f0609

Please sign in to comment.