Skip to content

Commit e2e30b6

Browse files
committed
create test-packages step
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
1 parent 5c306f6 commit e2e30b6

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/test-build-deploy.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,26 @@ jobs:
345345
dist/*.rpm
346346
dist/*-sha-256
347347
348+
test-packages:
349+
needs: packages
350+
runs-on: ubuntu-24.04
351+
steps:
352+
- name: Checkout Repo
353+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
354+
- name: Set up QEMU
355+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
356+
- name: Download Packages
357+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
358+
with:
359+
name: Packages
360+
path: dist
361+
- name: Test Packages
362+
run: |
363+
touch dist/.uptodate-packages
364+
make PACKAGE_IN_CONTAINER=false test-packages
365+
348366
deploy:
349-
needs: [build, test, lint, integration, integration-configs-db, packages]
367+
needs: [build, test, lint, integration, integration-configs-db, packages, test-packages]
350368
if: (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && github.repository == 'cortexproject/cortex'
351369
runs-on: ubuntu-24.04
352370
container:

0 commit comments

Comments
 (0)