From 6c6f31e8697423fc7d95a5487fcf6e66f0e40830 Mon Sep 17 00:00:00 2001 From: vlorian-de Date: Tue, 19 Nov 2024 09:52:10 +0100 Subject: [PATCH 1/6] Simplify test execution --- .github/workflows/default.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index a222fbf..0a4a6e8 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -52,17 +52,4 @@ jobs: with: bins: cargo-make, cargo-nextest - name: Run tests - run: | - cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture --test test_single_thread - cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture --test test_multi_thread - cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture --test test_registry_2 - cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture --test test_registry_1 - cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture --test test_attribute_macros - cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture --test test_calibration_segment_basics - cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture --test test_calibration_segment_persistence - cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture --test test_cal_page_switch - cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture --test test_cal_page_freeze - cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture --test test_cal_page_trait - cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture --test test_daq_register - cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture --test test_daq_capture - cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture --test test_a2l_local_variables_capture + run: cargo test --features=a2l_reader --features=serde -- --test-threads=1 --nocapture From fc0448ada5506497142ecb3dfba4cdfaff8e137c Mon Sep 17 00:00:00 2001 From: vlorian-de Date: Tue, 19 Nov 2024 17:31:16 +0100 Subject: [PATCH 2/6] Test new action --- .github/workflows/default.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 0a4a6e8..0eec138 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -16,7 +16,7 @@ jobs: runs-on: [ubuntu-22.04] steps: - uses: actions/checkout@v3 - - uses: moonrepo/setup-rust@v1 + - uses: dtolnay/rust-toolchain@stable with: bins: cargo-make components: clippy @@ -32,7 +32,7 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v3 - - uses: moonrepo/setup-rust@v1 + - uses: dtolnay/rust-toolchain@stable with: components: rustfmt - name: Build binary @@ -48,7 +48,7 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v3 - - uses: moonrepo/setup-rust@v1 + - uses: dtolnay/rust-toolchain@stable with: bins: cargo-make, cargo-nextest - name: Run tests From b63cf6a47f146265d23d9949865bdeff0eabf4a4 Mon Sep 17 00:00:00 2001 From: vlorian-de Date: Tue, 19 Nov 2024 17:42:29 +0100 Subject: [PATCH 3/6] uc1 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e9329ad..0cbd03e 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Main purpose was to experiment with Rust and to demonstrate some more advanced f Requires CANape 22 SP2. -## Introduction +## Introduction XCP is a measurement and calibration protocol commonly used in the automotive industry. It is an ASAM standard. From daca4ef8f0aad7505ec5468346589de97743011c Mon Sep 17 00:00:00 2001 From: vlorian-de Date: Tue, 19 Nov 2024 17:42:39 +0100 Subject: [PATCH 4/6] uc2 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0cbd03e..339998c 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Main purpose was to experiment with Rust and to demonstrate some more advanced f Requires CANape 22 SP2. -## Introduction +## Introduction XCP is a measurement and calibration protocol commonly used in the automotive industry. It is an ASAM standard. From 0911c2b7d7762aca9fadce694c92cc91b52b49ae Mon Sep 17 00:00:00 2001 From: vlorian-de Date: Tue, 19 Nov 2024 17:43:45 +0100 Subject: [PATCH 5/6] uc3 --- .github/workflows/default.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 0eec138..7176f2d 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -6,10 +6,6 @@ on: branches: ["**"] tags: ["**"] -concurrency: - group: ${{ (github.ref == 'refs/heads/main') && 'main' || format('{0}-{1}', github.workflow, github.ref) }} # concurrency does not include main branch - cancel-in-progress: true - jobs: lint: name: Lint From 62941c95c92c4c09cf605c27f640030ae5abafa0 Mon Sep 17 00:00:00 2001 From: vlorian-de Date: Tue, 19 Nov 2024 17:44:05 +0100 Subject: [PATCH 6/6] uc4 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 339998c..94df6bb 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Main purpose was to experiment with Rust and to demonstrate some more advanced f Requires CANape 22 SP2. -## Introduction +## Introduction XCP is a measurement and calibration protocol commonly used in the automotive industry. It is an ASAM standard.