Project template update
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
runs-on: macOS-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: SPM tests
|
||||
run: swift test --enable-code-coverage
|
||||
- name: Convert coverage files
|
||||
@@ -28,6 +28,7 @@ jobs:
|
||||
xcrun llvm-cov export -format "lcov" \
|
||||
.build/debug/hummingbird-mustachePackageTests.xctest/Contents/MacOs/hummingbird-mustachePackageTests \
|
||||
-ignore-filename-regex="\/Tests\/" \
|
||||
-ignore-filename-regex="\/Benchmarks\/" \
|
||||
-instr-profile=.build/debug/codecov/default.profdata > info.lcov
|
||||
- name: Upload to codecov.io
|
||||
uses: codecov/codecov-action@v3
|
||||
@@ -46,7 +47,7 @@ jobs:
|
||||
image: ${{ matrix.image }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Test
|
||||
run: |
|
||||
swift test --enable-code-coverage
|
||||
@@ -55,6 +56,7 @@ jobs:
|
||||
llvm-cov export -format="lcov" \
|
||||
.build/debug/hummingbird-mustachePackageTests.xctest \
|
||||
-ignore-filename-regex="\/Tests\/" \
|
||||
-ignore-filename-regex="\/Benchmarks\/" \
|
||||
-instr-profile .build/debug/codecov/default.profdata > info.lcov
|
||||
- name: Upload to codecov.io
|
||||
uses: codecov/codecov-action@v3
|
||||
|
||||
6
.github/workflows/nightly.yml
vendored
6
.github/workflows/nightly.yml
vendored
@@ -10,20 +10,20 @@ jobs:
|
||||
runs-on: macOS-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: SPM tests
|
||||
run: swift test
|
||||
linux:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
image: ['nightly-bionic', 'nightly-focal', 'nightly-jammy', 'nightly-amazonlinux2']
|
||||
image: ['nightly-focal', 'nightly-jammy', 'nightly-amazonlinux2']
|
||||
|
||||
container:
|
||||
image: swiftlang/swift:${{ matrix.image }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Test
|
||||
run: |
|
||||
swift test --enable-test-discovery
|
||||
|
||||
2
.github/workflows/validate.yml
vendored
2
.github/workflows/validate.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
runs-on: macOS-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Install Dependencies
|
||||
|
||||
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
.DS_Store
|
||||
.build/
|
||||
/.swiftpm
|
||||
/.vscode
|
||||
/.devcontainer
|
||||
.swiftpm/
|
||||
.vscode/
|
||||
.devcontainer/
|
||||
/Packages
|
||||
/*.xcodeproj
|
||||
xcuserdata/
|
||||
|
||||
Reference in New Issue
Block a user