Skip to content

Test different profile combinations #606

Test different profile combinations

Test different profile combinations #606

Workflow file for this run

---
name: 'Test'
on:
pull_request: {}
push:
branches:
- 'master'
schedule:
- cron: '0 0 * * 1'
jobs:
bootstrap:
runs-on: 'ubuntu-latest'
continue-on-error: '${{ matrix.experimental || false }}'
container: 'ubuntu:${{ matrix.ubuntu_version }}'
env:
DEBIAN_FRONTEND: 'noninteractive'
strategy:
fail-fast: false
# CHECKME
matrix:
personal:
- false
- true
work:
- false
ubuntu_version:
- '22.04'
- '24.04'
- 'rolling'
include:
- ubuntu_version: 'latest'
experimental: true
personal: false
work: false
# CHECKME
steps:
- name: 'Install depdendencies'
run: |
apt-get update
apt-get install --yes curl git gpg software-properties-common sudo wget
- name: 'Checkout repository'
uses: 'actions/checkout@v4'
- name: 'Setup Chezmoi'
uses: './.github/actions/chezmoi'
- name: 'Initialize Chezmoi'
shell: 'sh'
run: 'chezmoi init --promptBool "Enable personal profile=${{ matrix.personal }},Enable work profile=${{ matrix.work }}" .'
- name: 'Run Chezmoi'
run: 'chezmoi apply --keep-going'