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
22 changes: 18 additions & 4 deletions .github/workflows/beman-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,15 @@ jobs:
uv run ruff check --diff

run_tests:
name: Run Tests
runs-on: ubuntu-latest
name: Run Tests (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- name: Checkout code
uses: actions/checkout@v5
Expand All @@ -54,8 +61,15 @@ jobs:
uv run pytest tests/ -v

build_and_install:
name: Build and Install
runs-on: ubuntu-latest
name: Build and Install (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- name: Checkout code
uses: actions/checkout@v5
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/run-on-exemplar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@ on:

jobs:
run_on_exemplar:
name: Run on beman.exemplar
runs-on: ubuntu-latest
name: Run on beman.exemplar (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- name: Checkout code
uses: actions/checkout@v5
Expand All @@ -37,9 +44,9 @@ jobs:
cd exemplar_repo
git config user.email "actions@github.com"
git config user.name "GitHub Actions"
./stamp.sh project_name="cookiecutter_test" description="Test project" --no-input
bash ./stamp.sh project_name="cookiecutter_test" description="Test project" --no-input
git remote remove origin
sed -i '/disabled_rules:/a \ - release.godbolt_trunk_version\n - readme.implements' .beman-tidy.yaml
python -c "import sys; lines = open('.beman-tidy.yaml').readlines(); f = open('.beman-tidy.yaml', 'w'); [f.write(l + ' - release.godbolt_trunk_version\n - readme.implements\n' if 'disabled_rules:' in l else l) for l in lines]; f.close()"
cd ..
mv exemplar_repo cookiecutter_test
cd cookiecutter_test
Expand Down
Loading