Skip to content

Commit 2937376

Browse files
committed
Update unit tests job
Ubuntu 20.04 images have been deprecated, so when the unit tests job is executed GH fails to find available runners. Use Ubuntu 22.04 as base image for the unit tests job to fix this issue. CentOS 8 Stream has also been deprecated. Use CentOS 9 Stream instead.
1 parent 2f2621b commit 2937376

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/unit_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ on:
3131
jobs:
3232
test-framework:
3333
name: Unit test suite
34-
runs-on: ubuntu-20.04
34+
runs-on: ubuntu-22.04
3535

3636
steps:
3737
- name: Checkout code
@@ -94,7 +94,7 @@ jobs:
9494
- name: Run unit tests
9595
run: |
9696
export PROJECT_ROOT=/root/go/src/github.com/infrawatch/apputils
97-
docker run -uroot --network host --volume=${{ github.workspace }}:$PROJECT_ROOT:z --workdir $PROJECT_ROOT quay.io/centos/centos:stream8 bash ci/run_ci.sh
97+
docker run -uroot --network host --volume=${{ github.workspace }}:$PROJECT_ROOT:z --workdir $PROJECT_ROOT quay.io/centos/centos:stream9 bash ci/run_ci.sh
9898
- name: List dependency containers' logs
9999
run: |
100100
echo "---- rabbitmq ----"

0 commit comments

Comments
 (0)