1
0
mirror of https://github.com/containers/youki synced 2024-09-21 19:31:43 +02:00
youki/.github/workflows/podman_tests.yaml
Thomas Schubart 3276c0148c
Pin github action image
Signed-off-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
2022-12-08 16:42:02 +01:00

30 lines
952 B
YAML

on:
schedule:
- cron: "0 0 * * *"
jobs:
podman-tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: sudo apt-get -y update
- run: sudo apt-get install -y pkg-config libsystemd-dev libdbus-glib-1-dev libelf-dev libseccomp-dev libgpgme-dev bats
- run: make youki-dev
- run: sudo cp youki /usr/local/bin
- name: Clone podman repository
uses: actions/checkout@v3
with:
repository: containers/podman
- uses: actions/setup-go@v2
with:
go-version: '1.18'
- name: Build podman
run: make binaries
- name: Install tools
run: make install.tools
- name: Run podman test
run: sudo OCI_RUNTIME=/usr/local/bin/youki ./hack/bats 2>&1 | tee build.log
- name: Adding Summary
run: |
echo "Total tests: 360 Failed tests: $(cat build.log | grep " ok " | wc -l)" >> $GITHUB_STEP_SUMMARY