Switch back to the greeter when logind emits SecureAttentionKey #199
Workflow file for this run
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 | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
image: | |
- name: ubuntu | |
tag: rolling | |
- name: fedora | |
tag: latest | |
runs-on: ubuntu-latest | |
container: ${{ matrix.image.name }}:${{ matrix.image.tag }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies (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: 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 | |
- name: Build and test | |
run: | | |
./autogen.sh --disable-silent-rules --enable-gtk-doc | |
make | |
make check DEBUG=true || { cat tests/test-suite.log >&2; exit 1; } | |
- name: Upload Test Log | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Test Log ${{ matrix.image.name }} ${{ matrix.image.tag }} | |
path: tests/test-suite.log |