Skip to content

Commit

Permalink
Improve CI results
Browse files Browse the repository at this point in the history
Currently we get a bunch of random failures. Try to get them to pass
out of the box.
  • Loading branch information
omajid committed Mar 5, 2024
1 parent 3a32e5a commit 6497a02
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- quay.io/centos/centos:stream9
- registry.fedoraproject.org/fedora:38
- registry.fedoraproject.org/fedora:39
- registry.fedoraproject.org/fedora:40
- registry.fedoraproject.org/fedora:rawhide
- registry.access.redhat.com/ubi8
- registry.access.redhat.com/ubi9
Expand All @@ -32,8 +33,12 @@ jobs:
- "7.0"
- "8.0"
exclude:
- container_image: docker.io/library/alpine:edge
dotnet_version: "7.0"
- container_image: docker.io/library/alpine:latest
dotnet_version: "8.0"
- container_image: registry.fedoraproject.org/fedora:40
dotnet_version: "7.0"
- container_image: registry.fedoraproject.org/fedora:rawhide
dotnet_version: "7.0"

Expand All @@ -43,7 +48,7 @@ jobs:


steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install .NET ${{ matrix.dotnet_version }}
timeout-minutes: 5
Expand All @@ -52,6 +57,12 @@ jobs:
cat /etc/os-release
if grep fedora /etc/os-release ; then
dnf install -y dotnet-sdk-${{ matrix.dotnet_version }}
if [[ ! ${{ matrix.dotnet_version }} == *6* ]] && [[ ! ${{ matrix.dotnet_version }} == *7* ]]; then
dnf install -y \
dotnet-sdk-dbg-${{ matrix.dotnet_version }} \
dotnet-runtime-dbg-${{ matrix.dotnet_version }} \
aspnetcore-runtime-dbg-${{ matrix.dotnet_version }}
fi
elif grep alpine /etc/os-release; then
if grep edge /etc/os-release; then
echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
Expand Down

0 comments on commit 6497a02

Please sign in to comment.