Skip to content

Commit

Permalink
github-actions: run fedora inside ubuntu
Browse files Browse the repository at this point in the history
beakerlib complained about not running on fedora.

Signed-off-by: Douglas Landgraf <[email protected]>
  • Loading branch information
dougsland committed Jun 24, 2024
1 parent d8bf043 commit bf3b3d5
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/run-beakerlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,20 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y podman make git sudo
- name: Set up Docker
uses: docker/setup-qemu-action@v2

- name: Install engine-stressor
run: |
sudo make
sudo make install
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Clone repository and install beakerlib
run: |
git clone https://github.com/beakerlib/beakerlib
cd beakerlib
sudo make
sudo make install
- name: Pull Fedora container
run: docker pull fedora:latest

- name: Run beakerlib test script
- name: Run tests in Fedora container
run: |
./tests/beakerlib/N-instances-podman-parallel/runtest.sh
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace fedora:latest /bin/bash -c "
dnf install -y podman make git;
make;
make install;
cd tests/beakerlib/N-instances-podman-parallel;
./runtest.sh"

0 comments on commit bf3b3d5

Please sign in to comment.