Swift test help line comment

This commit is contained in:
Christian Treffs 2024-10-09 13:25:31 +02:00
parent 1362fd9edb
commit dd7310b925
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
1 changed files with 26 additions and 23 deletions

View File

@ -15,29 +15,32 @@ jobs:
container:
image: swift:${{ matrix.swift }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test
run: swift test -v --skip-update --parallel --enable-test-discovery
- name: Debug Linux folders
if: always()
- name: Swift Test Help
run: |
ls -la
ls -la .build/debug/**/*
swift test --help
# - name: Checkout
# uses: actions/checkout@v4
- name: Upload test artifacts
if: failure()
uses: actions/upload-artifact@v4.4.2
with:
name: test-artifacts-${{ matrix.swift }}-${{ github.run_id }}
path: |
.build/*.yaml
.build/*.json
.build/**/*.json
.build/**/*.xctest
.build/**/*.txt
# - name: Test
# run: swift test -v --skip-update --parallel --enable-test-discovery
# - name: Debug Linux folders
# if: always()
# run: |
# ls -la
# ls -la .build/debug/**/*
# - name: Upload test artifacts
# if: failure()
# uses: actions/upload-artifact@v4.4.2
# with:
# name: test-artifacts-${{ matrix.swift }}-${{ github.run_id }}
# path: |
# .build/*.yaml
# .build/*.json
# .build/**/*.json
# .build/**/*.xctest
# .build/**/*.txt
- name: Build Release
run: swift build -c release
# - name: Build Release
# run: swift build -c release