Test different profile combinations #609
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | ||
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 GitHub Actions / TestInvalid workflow file
|
||
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' |