Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/self-test-setup-flow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Self-tests for setup workflow

on:
push:
branches:
- main
paths:
- ".github/workflows/test-setup-flow.yaml"
- ".github/workflows/self-test-setup-flow.yaml"
pull_request:
paths:
- ".github/workflows/test-setup-flow.yaml"
- ".github/workflows/self-test-setup-flow.yaml"

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
test:
uses: ./.github/workflows/test-setup-flow.yaml
49 changes: 49 additions & 0 deletions .github/workflows/test-setup-flow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Test setup flow
on:
workflow_call:

jobs:
linux:
strategy:
fail-fast: false
matrix:
host:
- ubuntu-24.04
# - ubuntu-24.04-arm
distro:
- ubuntu:22.04
- ubuntu:24.04
- ubuntu:25.04
- ubuntu:25.10
- debian:stable
- debian:testing
- fedora:latest
- opensuse/leap:latest
runs-on: ${{ matrix.host }}
container:
image: ${{ matrix.distro }}
steps:
- name: Install bare minimum
run: |
. /etc/os-release
case "${ID} ${ID_LIKE}" in
*debian*)
apt-get update
apt-get -y install make snapd sudo
;;
*fedora*)
dnf install -y make which snapd sudo
;;
*suse*)
zypper install -n make snapd sudo
;;
esac
- uses: actions/checkout@v5
- run: make setup-lint
- run: make lint
- run: make setup-tests
- run: make test-fast
- run: make setup
- run: make lint
- run: make test-fast
- run: make docs
Loading