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