/
githubmirror
/
ostree
Обзор
Документация
Войти
/
githubmirror
/
ostree
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/bootc.yaml
67 строк
2 KB
Xiaofeng Wang
ci: Add Packit CI with RPM builds and TMT integration tests
23 мар 2026, 04:30
23 мар 2026, 04:30
b0cd80d
Код
Авторство
О чём код?
name: ci-bootc permissions: actions: read on: push: branches: [main] pull_request: branches: [main] workflow_dispatch: {} concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: unit-tests: runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: stream: [stream9, stream10] steps: - uses: actions/checkout@v6 with: fetch-depth: 0 - uses: bootc-dev/actions/bootc-ubuntu-setup@main - name: unitcontainer run: STREAM=${{ matrix.stream }} just unitcontainer - name: unittest run: STREAM=${{ matrix.stream }} just unittest - name: Upload unittest logs if: failure() uses: actions/upload-artifact@v4 with: name: test-suite-log-PR-${{ github.event.number }}-${{ matrix.stream }} path: target/unittest integration: runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: stream: [stream9, stream10] steps: - uses: actions/checkout@v6 with: fetch-depth: 0 - uses: bootc-dev/actions/bootc-ubuntu-setup@main with: libvirt: true - name: Install tmt run: pip install --user "tmt[provision-virtual]" - name: build run: STREAM=${{ matrix.stream }} just build - name: TMT tests (bcvk) timeout-minutes: 40 run: STREAM=${{ matrix.stream }} just test-tmt - name: Archive TMT logs if: always() uses: actions/upload-artifact@v4 with: name: tmt-log-PR-${{ github.event.number }}-${{ matrix.stream }} path: /var/tmp/tmt