diff options
author | Richard Hansen <rhansen@rhansen.org> | 2023-04-21 01:34:42 -0400 |
---|---|---|
committer | Robert Ancell <robert.ancell@gmail.com> | 2023-04-26 09:33:47 +1200 |
commit | 581c3f9e40999b2eeff7fc57abae4588fa307708 (patch) | |
tree | 968a42bf1ae13e4988f2f7aae81fb4d1b8a68d37 | |
parent | f75ba578989db1398686d56532055ce211a7e0bb (diff) | |
download | lightdm-git-581c3f9e40999b2eeff7fc57abae4588fa307708.tar.gz |
ci: Prevent the test runs from overwriting each other's logs
-rw-r--r-- | .github/workflows/test.yaml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ef2f68c2..e8f08672 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,23 +10,25 @@ jobs: fail-fast: false matrix: image: - - ubuntu:rolling - - fedora:latest + - name: ubuntu + tag: rolling + - name: fedora + tag: latest runs-on: ubuntu-latest - container: ${{ matrix.image }} + container: ${{ matrix.image.name }}:${{ matrix.image.tag }} steps: - uses: actions/checkout@v3 - name: Install dependencies (Ubuntu) - if: startsWith(matrix.image, 'ubuntu:') + if: matrix.image.name == 'ubuntu' run: | apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends dbus gtk-doc-tools intltool libaudit-dev libgcrypt20-dev libgirepository1.0-dev libglib2.0-dev libpam0g-dev libtool libxcb1-dev libxdmcp-dev libxklavier-dev python3 python3-gi python-is-python3 qtbase5-dev valac yelp-tools - name: Install dependencies (Fedora) - if: startsWith(matrix.image, 'fedora:') + if: matrix.image.name == 'fedora' run: | dnf install -y audit-libs-devel dbus-daemon gcc gcc-c++ gobject-introspection-devel glib2-devel gtk-doc intltool libgcrypt-devel libtool libxcb-devel libxklavier-devel libXdmcp-devel make pam-devel python3-gobject qt5-qtbase-devel redhat-rpm-config vala yelp-tools @@ -40,5 +42,5 @@ jobs: if: failure() uses: actions/upload-artifact@v3 with: - name: Test Log + name: Test Log ${{ matrix.image.name }} ${{ matrix.image.tag }} path: tests/test-suite.log |