2022-06-30 23:04:28 +02:00
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 0 * * *"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
podman-tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-10-13 02:06:43 +02:00
|
|
|
- uses: actions/checkout@v3
|
2022-06-30 23:04:28 +02:00
|
|
|
- run: sudo apt-get -y update
|
2022-08-17 11:02:18 +02:00
|
|
|
- run: sudo apt-get install -y pkg-config libsystemd-dev libdbus-glib-1-dev libelf-dev libseccomp-dev libgpgme-dev bats
|
2022-06-30 23:04:28 +02:00
|
|
|
- run: make build
|
|
|
|
- run: sudo cp youki /usr/local/bin
|
|
|
|
- name: Clone podman repository
|
2022-10-13 02:06:43 +02:00
|
|
|
uses: actions/checkout@v3
|
2022-06-30 23:04:28 +02:00
|
|
|
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
|