Skip to content

Commit

Permalink
fix(ci): Use ubuntu-22.04 images to get access to libsecret (#3233)
Browse files Browse the repository at this point in the history
* ci: use ubuntu-22.04 image for libsecret fix

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* ci: update checks for matrix.os

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

---------

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
  • Loading branch information
traeok authored and JillieBeanSim committed Oct 16, 2024
1 parent c29c9a7 commit 46c80e8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/zowe-explorer-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
matrix:
node-version: [18.x, 20.x]
# order operating systems from best to worst
os: [windows-latest, ubuntu-latest, macos-latest]
os: [windows-latest, ubuntu-22.04, macos-latest]

if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && !contains(github.event.head_commit.message, '[ci skip]')

Expand All @@ -51,24 +51,24 @@ jobs:

- name: Unlock Keyring
id: unlock-keyring
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x'
uses: t1m0thyj/unlock-keyring@v1

- name: Integration tests
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x'
run: xvfb-run pnpm test:integration --exclude "Activation.feature"
working-directory: packages/zowe-explorer

- name: Upload test results
uses: actions/upload-artifact@v4
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x'
with:
name: zowe-explorer-results
path: packages/zowe-explorer/results/

- name: Upload API test results
uses: actions/upload-artifact@v4
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x'
with:
name: zowe-explorer-api-results
path: packages/zowe-explorer-api/results/
Expand All @@ -80,12 +80,12 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Package VSIX
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x'
run: pnpm package
working-directory: packages/zowe-explorer

- name: Archive VSIX artifact
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
if: matrix.os == 'ubuntu-22.04' && matrix.node-version == '20.x'
uses: actions/upload-artifact@v4
with:
name: zowe-explorer-vsix
Expand Down

0 comments on commit 46c80e8

Please sign in to comment.