Files
balatro-gba-chinese-jocker-…/.github/workflows/run_tests_ci_workflow.yml
T
Rickey 1cacabdff6 Clang format pool (#255)
* Update comment prefix + add github action

* Clang Format pool

* fix clang format version

* Fix pool clang format
2025-11-27 10:41:13 -08:00

38 lines
1.0 KiB
YAML

name: Run Tests
on:
workflow_dispatch:
workflow_call:
jobs:
run_tests:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Install clang-format
run: |
sudo apt-get update
sudo apt-get install -y clang-format
- name: Checkout repository
uses: actions/checkout@v5
- name: Clang Format
run: >
clang-format --dry-run -Werror
include/bitset.h source/bitset.c
include/pool.h source/pool.c
include/card.h source/card.c
include/hand_analysis.h source/hand_analysis.c
include/list.h source/list.c
include/sprite.h source/sprite.c
include/splash_screen.h source/splash_screen.c
include/blind.h source/blind.c
# Currently contains only the code that has been formatted to conform
# When all existing code conforms, change to this:
# run: clang-format --dry-run -Werror include/*.h source/*.c
- name: Run Tests
run: cd tests && ./run_tests.sh