Skip to content

Commit

Permalink
Fix skipped linux tests (#3731)
Browse files Browse the repository at this point in the history
  • Loading branch information
csujedihy authored Jun 30, 2023
1 parent c4812a1 commit 586746f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
concurrency:
# Cancel any workflow currently in progress for the same PR.
# Allow running concurrently with any other commits.
group: bvt-${{ github.event.pull_request.number || github.sha }}
group: test-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

permissions: read-all
Expand Down Expand Up @@ -134,6 +134,10 @@ jobs:
with:
name: ${{ matrix.vec.config }}-${{ matrix.vec.plat }}-${{ matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.systemcrypto }}${{ matrix.vec.sanitize }}${{ matrix.vec.test }}
path: artifacts
- name: Fix permissions for Unix
if: matrix.vec.plat == 'linux' || matrix.vec.plat == 'macos'
run: |
sudo chmod -R 777 artifacts
- name: Prepare Machine
run: scripts/prepare-machine.ps1 -Tls ${{ matrix.vec.tls }} -ForTest ${{ matrix.vec.xdp }}
shell: pwsh
Expand Down
1 change: 1 addition & 0 deletions scripts/prepare-machine.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ $PfxPassword = ConvertTo-SecureString -String "placeholder" -Force -AsPlainText

# Downloads and caches the latest version of the corenet-ci-main repo.
function Download-CoreNet-Deps {
if (!$IsWindows) { return } # Windows only
# Download and extract https://github.com/microsoft/corenet-ci.
if ($Force) { rm -Force -Recurse $CoreNetCiPath -ErrorAction Ignore }
if (!(Test-Path $CoreNetCiPath)) {
Expand Down

0 comments on commit 586746f

Please sign in to comment.