mirror of
https://github.com/xtool-org/xtool.git
synced 2026-11-15 20:15:01 +03:00
Run tests on CI (#226)
This commit is contained in:
committed by
GitHub
Unverified
parent
4077e1a0b8
commit
d5d9b8d02b
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user