1
0
mirror of https://github.com/containers/youki synced 2024-11-09 19:25:15 +01:00
youki/.github/workflows/podman_tests.yaml
Yashodhan 79b6450a86
Replace Makefiles with Just (#1823)
Refactored the build system using `justfile`.

* Use just in CI instead of makefiles

* Remove makefiles completely

* Increase timeout in rust validation
2023-06-05 09:24:33 -07:00

36 lines
1.1 KiB
YAML

name: Test for podman
on:
schedule:
- cron: "0 0 * * *"
jobs:
podman-tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install requirements
run: sudo ./.github/scripts/dependency.sh
- name: Install just
uses: taiki-e/install-action@just
- run: just youki-dev
- run: sudo cp youki /usr/local/bin
- name: Install requirements for Podman
run: sudo apt-get install -y pkg-config libsystemd-dev libdbus-glib-1-dev libelf-dev libseccomp-dev libgpgme-dev bats
- 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