Run tests on CI (#226)

This commit is contained in:
Kabir Oberai
2026-05-18 03:21:49 -04:00
committed by GitHub
Unverified
parent 4077e1a0b8
commit d5d9b8d02b
10 changed files with 16 additions and 387 deletions
+6 -3
View File
@@ -20,10 +20,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Build
- name: Build and test
run: |
docker compose run --build --rm xtool bash -c \
"swift build --product xtool && .build/debug/xtool --help"
docker compose run --build xtool bash -c \
"swift build --product xtool && .build/debug/xtool --help && swift test"
build-macos:
runs-on: macos-26
steps:
@@ -33,6 +33,9 @@ jobs:
- name: Build
run: |
swift build --product xtool && .build/debug/xtool --help
- name: Run tests
run: |
swift test
build-ios:
runs-on: macos-26
steps: