From ed9ad7050f31f1b977fb8b061613865ccc1e8a8d Mon Sep 17 00:00:00 2001 From: Veaceslav Doina <20563034+veaceslavdoina@users.noreply.github.com> Date: Mon, 19 Feb 2024 11:38:51 +0200 Subject: [PATCH 1/4] ci: update actions to the latest major versions --- .github/workflows/ci-reusable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-reusable.yml b/.github/workflows/ci-reusable.yml index ec84875b0..2838dcf71 100644 --- a/.github/workflows/ci-reusable.yml +++ b/.github/workflows/ci-reusable.yml @@ -71,7 +71,7 @@ jobs: run: make -j${ncpu} testIntegration - name: Upload integration tests log files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: integration-tests-logs From 5d0ee89516b28ceae789503f25570fec983ab247 Mon Sep 17 00:00:00 2001 From: Veaceslav Doina <20563034+veaceslavdoina@users.noreply.github.com> Date: Mon, 19 Feb 2024 13:13:48 +0200 Subject: [PATCH 2/4] ci: add OS to the integration tests logs name --- .github/workflows/ci-reusable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-reusable.yml b/.github/workflows/ci-reusable.yml index 2838dcf71..b5e26f02c 100644 --- a/.github/workflows/ci-reusable.yml +++ b/.github/workflows/ci-reusable.yml @@ -74,7 +74,7 @@ jobs: uses: actions/upload-artifact@v4 if: always() with: - name: integration-tests-logs + name: ${{ matrix.os }}-integration-tests-logs path: tests/integration/logs/ retention-days: 1 From a5c7f576525700ef8a058bec9d914a76fc5c2e00 Mon Sep 17 00:00:00 2001 From: Veaceslav Doina <20563034+veaceslavdoina@users.noreply.github.com> Date: Mon, 19 Feb 2024 16:34:53 +0200 Subject: [PATCH 3/4] ci: add CPU and Nim version to the integration tests logs name --- .github/workflows/ci-reusable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-reusable.yml b/.github/workflows/ci-reusable.yml index b5e26f02c..a5116a1b6 100644 --- a/.github/workflows/ci-reusable.yml +++ b/.github/workflows/ci-reusable.yml @@ -74,7 +74,7 @@ jobs: uses: actions/upload-artifact@v4 if: always() with: - name: ${{ matrix.os }}-integration-tests-logs + name: ${{ matrix.os }}-${{ matrix.cpu }}-${{ matrix.nim_version }}-integration-tests-logs path: tests/integration/logs/ retention-days: 1 From 8449bdfa04d09f15415329c0791c2b62510ee59f Mon Sep 17 00:00:00 2001 From: Veaceslav Doina <20563034+veaceslavdoina@users.noreply.github.com> Date: Mon, 19 Feb 2024 20:14:36 +0200 Subject: [PATCH 4/4] ci: upload integrations tests logs only when they run --- .github/workflows/ci-reusable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-reusable.yml b/.github/workflows/ci-reusable.yml index a5116a1b6..501468a08 100644 --- a/.github/workflows/ci-reusable.yml +++ b/.github/workflows/ci-reusable.yml @@ -72,7 +72,7 @@ jobs: - name: Upload integration tests log files uses: actions/upload-artifact@v4 - if: always() + if: (matrix.tests == 'integration' || matrix.tests == 'all') && always() with: name: ${{ matrix.os }}-${{ matrix.cpu }}-${{ matrix.nim_version }}-integration-tests-logs path: tests/integration/logs/