Skip to content

Test different profile combinations #609

Test different profile combinations

Test different profile combinations #609

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.ubuntu_version == "devel" }}'

Check failure on line 13 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yaml (Line: 13, Col: 24): Unexpected symbol: '"devel"'. Located at position 26 within expression: matrix.ubuntu_version == "devel" .github/workflows/test.yaml (Line: 13, Col: 24): Unexpected value '${{ matrix.ubuntu_version == "devel" }}'
container: 'ubuntu:${{ matrix.ubuntu_version }}'
env:
DEBIAN_FRONTEND: 'noninteractive'
strategy:
fail-fast: false
matrix:
personal:
- false
- true
work:
- false
ubuntu_version:
- '22.04'
- '24.04'
- 'latest'
- 'rolling'
- 'devel'
steps:
- name: 'Install depdendencies'
run: |
apt-get update
#apt-get install --yes curl git gpg software-properties-common sudo wget
apt-get install --yes curl 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'