AkurAI Build
Menu

BifrOSt

public

Latest change 01eb41ed49f23bb7d99cbcef4fc39117ffd35bb1 - Harden release pipeline and rebase to 0.2.2 by Ólafur Búi Ólafsson

name: Static validation

on:
  pull_request:
  push:
    branches:
      - main
      - master

permissions:
  contents: read

concurrency:
  group: static-validation-${{ github.ref }}
  cancel-in-progress: true

jobs:
  validate:
    runs-on: ubuntu-latest
    timeout-minutes: 10
    steps:
      - name: Check out source
        uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - name: Install static validators
        run: sudo apt-get update && sudo apt-get install --yes desktop-file-utils shellcheck
      - name: Validate source and ArchISO profile
        run: python3 ./validate-build.py .
      - name: Run installer self-check
        run: python3 profile/airootfs/usr/local/bin/bifrost-installer --self-check
      - name: Run unit test discovery
        run: python3 -m unittest discover --start-directory tests --pattern 'test_*.py' --verbose