33 lines
821 B
YAML
33 lines
821 B
YAML
# SPDX-License-Identifier: MIT
|
|
|
|
on: [ push, pull_request ]
|
|
|
|
env:
|
|
TESTS: >
|
|
test_lxc_helpers_release
|
|
test_lxc_helpers_mount
|
|
test_lxc_helpers_id
|
|
test_lxc_helpers_docker
|
|
test_lxc_helpers_libvirt
|
|
test_lxc_helpers_lxc
|
|
test_lxc_helpers_k8s
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: k8s
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: prepare
|
|
run: |
|
|
./lxc-helpers.sh lxc_prepare_environment
|
|
./lxc-helpers.sh lxc_install_lxc_inside 10.39.48 fcb1
|
|
- name: OS independent
|
|
run: |
|
|
./tests.sh test_lxc_config
|
|
- name: bookworm
|
|
run: |
|
|
LXC_CONTAINER_RELEASE=bookworm LXC_VERBOSE=true ./tests.sh ${{ env.TESTS }}
|
|
- name: bullseye
|
|
run: |
|
|
LXC_CONTAINER_RELEASE=bullseye LXC_VERBOSE=true ./tests.sh ${{ env.TESTS }}
|