From 645284c0324f722f480d1d1a9f158b28eef4f8aa Mon Sep 17 00:00:00 2001 From: Banks Nussman <115251059+bnussman-akamai@users.noreply.github.com> Date: Tue, 12 Dec 2023 12:22:36 -0500 Subject: [PATCH] ci: Speed Up Code Coverage Github Actions Jobs (#9988) * only build code needed to run the unit tests * Added changeset: Speed up code coverage Github Actions jobs by skipping Cloud Manager build --------- Co-authored-by: Banks Nussman --- .github/workflows/coverage.yml | 14 ++++++++++---- .github/workflows/coverage_badge.yml | 7 +++++-- .../pr-9988-tech-stories-1702336644030.md | 5 +++++ 3 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 packages/manager/.changeset/pr-9988-tech-stories-1702336644030.md diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index e55968c0cdc..fda1fed0802 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -25,8 +25,11 @@ jobs: - name: Install Dependencies run: yarn --frozen-lockfile - - name: Run build - run: yarn build + - name: Build @linode/validation + run: yarn build:validation + + - name: Build @linode/api-v4 + run: yarn build:sdk - name: Run Base Branch Coverage run: yarn coverage:summary @@ -65,8 +68,11 @@ jobs: - name: Install Dependencies run: yarn --frozen-lockfile - - name: Run Build - run: yarn build + - name: Build @linode/validation + run: yarn build:validation + + - name: Build @linode/api-v4 + run: yarn build:sdk - name: Run Current Branch Coverage run: yarn coverage:summary diff --git a/.github/workflows/coverage_badge.yml b/.github/workflows/coverage_badge.yml index b4cf419261c..dee947804c6 100644 --- a/.github/workflows/coverage_badge.yml +++ b/.github/workflows/coverage_badge.yml @@ -27,8 +27,11 @@ jobs: - name: Install Dependencies run: yarn --frozen-lockfile - - name: Run Build - run: yarn build + - name: Build @linode/validation + run: yarn build:validation + + - name: Build @linode/api-v4 + run: yarn build:sdk - name: Run Base Branch Coverage run: yarn coverage:summary diff --git a/packages/manager/.changeset/pr-9988-tech-stories-1702336644030.md b/packages/manager/.changeset/pr-9988-tech-stories-1702336644030.md new file mode 100644 index 00000000000..6aa010c3484 --- /dev/null +++ b/packages/manager/.changeset/pr-9988-tech-stories-1702336644030.md @@ -0,0 +1,5 @@ +--- +"@linode/manager": Tech Stories +--- + +Speed up code coverage Github Actions jobs by skipping Cloud Manager build ([#9988](https://github.com/linode/manager/pull/9988))