This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jordan Mackie
authored and
Jordan Mackie
committed
Mar 11, 2023
1 parent
a09e542
commit 816e978
Showing
4 changed files
with
2 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,8 +86,7 @@ jobs: | |
release-version: v1.10.2 | ||
platform: ${{matrix.ninja-platform}} | ||
|
||
# Build the Haskell lsp-test in its own step rather than as part of | ||
# the integration test because tarpaulin will timeout | ||
# Build the Haskell lsp-test in its own step so the stdout isn't swallowed by nextest. | ||
# | ||
# We don't currently run this test on Windows because I've not been able to | ||
# get GitHub actions to properly cache Haskell stuff there and it takes | ||
|
@@ -96,8 +95,7 @@ jobs: | |
if: matrix.os != 'windows-latest' | ||
run: stack build ditto-lsp-test | ||
|
||
- name: Run tests (without coverage) | ||
if: matrix.os != 'ubuntu-latest' | ||
- name: Run tests | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: nextest | ||
|
@@ -106,30 +104,6 @@ jobs: | |
DITTO_BUILD_GIT_DESCRIBE: "0.0.0-test" | ||
DITTO_NINJA: ${{steps.install-ninja.outputs.which}} | ||
|
||
- name: Install cargo-llvm-cov | ||
# Only run tests with coverage if running on Linux | ||
if: matrix.os == 'ubuntu-latest' | ||
uses: taiki-e/install-action@cargo-llvm-cov | ||
|
||
- name: Run tests (with coverage) | ||
# Only run tests with coverage if running on Linux | ||
if: matrix.os == 'ubuntu-latest' | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: llvm-cov | ||
args: --lcov --output-path lcov.info nextest --workspace | ||
env: | ||
DITTO_BUILD_GIT_DESCRIBE: "0.0.0-test" | ||
DITTO_NINJA: ${{steps.install-ninja.outputs.which}} | ||
|
||
- name: Upload coverage results to codecov.io 📡 | ||
if: matrix.os == 'ubuntu-latest' | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
files: lcov.info | ||
fail_ci_if_error: true | ||
|
||
treefmt: | ||
name: treefmt 💅 | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters