Test Packages #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
run-name: Test Packages | |
on: push | |
jobs: | |
build-packages-workflow: | |
uses: ./.github/workflows/build.yml | |
deb-packages: | |
runs-on: ubuntu-latest | |
needs: build-packages-workflow | |
steps: | |
- name: Download Prometheus Artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
name: packages | |
- name: Install DEB packages | |
run: sudo dpkg -i *.deb | |
rpm-packages: | |
runs-on: ubuntu-latest | |
needs: build-packages-workflow | |
container: | |
image: rockylinux:8 | |
options: --cpus 1 | |
steps: | |
- name: Download Prometheus Artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
name: packages | |
- name: Install RPM packages | |
run: dnf localinstall -y *.x86_64.rpm |