Make "file_name" an optional field in the ureport #65
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: Run unit tests | |
on: | |
pull_request: | |
branches: [master] | |
push: | |
branches: [master] | |
jobs: | |
test: | |
container: | |
image: quay.io/fedora/fedora:latest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out sources | |
uses: actions/checkout@v3 | |
- name: Install build environment | |
run: | | |
dnf install --assumeyes --setopt=install_weak_deps=False \ | |
autoconf automake dnf-plugins-core make | |
dnf copr enable --assumeyes @abrt/faf-el8-devel | |
- name: Install build dependencies | |
run: dnf builddep --assumeyes --setopt=install_weak_deps=False --spec faf.spec | |
- name: Generate build files | |
run: | | |
# We need an unprivileged user in order to run some Postgres-related tests. | |
useradd --no-create-home runner | |
# Doing this would be largely unnecessary had non-srcdir builds worked. | |
chown -R runner: . | |
sudo -u runner ./autogen.sh | |
- name: Build | |
run: sudo -u runner make -j | |
- name: Run tests | |
run: sudo -u runner make check | |
- name: Upload test logs | |
uses: actions/upload-artifact@v2 | |
with: | |
name: testsuite.log | |
path: tests/**/test-suite.log | |
if: failure() |