Automatic commit of package [restraint] release [0.4.5-1]. #184
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: Merge-checks | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
unittests: | |
strategy: | |
fail-fast: false | |
matrix: | |
image: | |
- quay.io/fedora/fedora:38 | |
- quay.io/fedora/fedora:39 | |
- quay.io/fedora/fedora:40 | |
runs-on: ubuntu-latest | |
container: | |
image: ${{ matrix.image }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install deps | |
run: | | |
dnf install -y 'dnf-command(builddep)' git-daemon python3-flask python3-requests python3-pytest python3-six procps-ng | |
- name: Install restraint deps | |
run: | | |
dnf builddep --spec specfiles/restraint-upstream.spec -y | |
- name: Run tests | |
run: | | |
set -o pipefail | |
make check | tee unittests.out | |
mv unittests.out /__w/unittests.out | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: unittests.out | |
path: /home/runner/work/unittests.out | |
valgrind: | |
strategy: | |
fail-fast: false | |
matrix: | |
image: | |
- quay.io/fedora/fedora:38 | |
- quay.io/fedora/fedora:39 | |
- quay.io/fedora/fedora:40 | |
runs-on: ubuntu-latest | |
container: | |
image: ${{ matrix.image }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install deps | |
run: | | |
dnf install -y 'dnf-command(builddep)' valgrind git-daemon procps-ng | |
- name: Install restraint deps | |
run: | | |
dnf builddep --spec specfiles/restraint-upstream.spec -y | |
- name: Run valgrind | |
run: | | |
set -o pipefail | |
make valgrind 2>&1 | tee valgrind.out | |
mv valgrind.out /__w/valgrind.out | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: valgrind.out | |
path: /home/runner/work/valgrind.out |