Skip to content
8 changes: 4 additions & 4 deletions .github/workflows/cpp-ci-serial-programs-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ jobs:
uses: actions/checkout@v7
if: inputs.run-tests
with:
repository: 'PokemonAutomation/CommandLineTests'
path: 'CommandLineTests'
repository: "PokemonAutomation/CommandLineTests"
path: "CommandLineTests"

- name: Run tests (Windows)
if: startsWith(inputs.os, 'windows') && inputs.run-tests
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:

- name: Run clang query
if: inputs.run-clang-query
run : |
run: |
cd Arduino-Source

cat << 'EOF' > query.txt
Expand Down Expand Up @@ -181,4 +181,4 @@ jobs:
name: Clang query output (compiler=${{inputs.compiler}})
path: |
Arduino-Source/SerialPrograms/bin/compile_commands.json
Arduino-Source/clang-query-output.txt
Arduino-Source/clang-query-output.txt
6 changes: 4 additions & 2 deletions .github/workflows/cpp-ci-serial-programs-mac-intel.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: C++ CI Serial Programs Mac Intel
on:
push:
branches: [main]
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
types: [opened, synchronize, reopened, ready_for_review, edited]

jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
if: github.event_name != 'pull_request' ||
(github.event.pull_request.draft == false && !(github.event.action == 'edited' && github.event.changes.base != null))
uses: ./.github/workflows/cpp-ci-serial-programs-base.yml
with:
os: macos-15-intel
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cpp-ci-serial-programs-mac.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: C++ CI Serial Programs Mac
on:
push:
branches: [main]
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
types: [opened, synchronize, reopened, ready_for_review, edited]

jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
if: github.event_name != 'pull_request' ||
(github.event.pull_request.draft == false && !(github.event.action == 'edited' && github.event.changes.base != null))
uses: ./.github/workflows/cpp-ci-serial-programs-base.yml
with:
os: macos-15
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cpp-ci-serial-programs-ubuntu-clang.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: C++ CI Serial Programs Ubuntu clang
on:
push:
branches: [main]
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
types: [opened, synchronize, reopened, ready_for_review, edited]

jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
if: github.event_name != 'pull_request' ||
(github.event.pull_request.draft == false && !(github.event.action == 'edited' && github.event.changes.base != null))
uses: ./.github/workflows/cpp-ci-serial-programs-base.yml
with:
os: ubuntu-26.04
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cpp-ci-serial-programs-ubuntu-default.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: C++ CI Serial Programs Ubuntu Default
on:
push:
branches: [main]
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
types: [opened, synchronize, reopened, ready_for_review, edited]

jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
if: github.event_name != 'pull_request' ||
(github.event.pull_request.draft == false && !(github.event.action == 'edited' && github.event.changes.base != null))
uses: ./.github/workflows/cpp-ci-serial-programs-base.yml
with:
os: ubuntu-26.04
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cpp-ci-serial-programs-windows-clang.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: C++ CI Serial Programs Windows Clang
on:
push:
branches: [main]
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
types: [opened, synchronize, reopened, ready_for_review, edited]

jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
if: github.event_name != 'pull_request' ||
(github.event.pull_request.draft == false && !(github.event.action == 'edited' && github.event.changes.base != null))
uses: ./.github/workflows/cpp-ci-serial-programs-base.yml
with:
os: windows-2025
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cpp-ci-serial-programs-windows-default.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: C++ CI Serial Programs Windows Default
on:
push:
branches: [main]
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
types: [opened, synchronize, reopened, ready_for_review, edited]

jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
if: github.event_name != 'pull_request' ||
(github.event.pull_request.draft == false && !(github.event.action == 'edited' && github.event.changes.base != null))
uses: ./.github/workflows/cpp-ci-serial-programs-base.yml
with:
os: windows-2025
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,12 @@ Optimise the swapping algo
Add enum for ball ? Also, BDSP is reading from swsh data. Worth refactoring ?

ideas for more checks :
ability
nature
type
original game
OT
moves
stats
level
surname
language
"stamps"
*/

Expand Down