Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
karatakis authored Dec 18, 2024
2 parents 7d9781e + d8947cd commit fd40085
Show file tree
Hide file tree
Showing 1,109 changed files with 4,613 additions and 4,843 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ jobs:
fail-fast: false
matrix: ${{ fromJson(needs.setup_build_matrix.outputs.matrix) }}

env:
WITH_COVERAGE: ${{ matrix.build == 'darwin-arm64' }}

steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -164,15 +167,28 @@ jobs:
}
echo "$(Resolve-Path nasm-2.16.02)" >> $env:GITHUB_PATH
- uses: taiki-e/install-action@cargo-llvm-cov
- name: Install insta test runner
if: ${{ env.WITH_COVERAGE == 'false' && matrix.test != 'false' }}
uses: taiki-e/install-action@v2
with:
tool: cargo-insta

- name: Run cargo insta test
if: ${{ env.WITH_COVERAGE == 'false' && matrix.test != 'false' }}
run: cargo insta test --unreferenced reject --workspace --target ${{ matrix.target }}

- name: Install llvm-cov test runner
if: ${{ env.WITH_COVERAGE == 'true' && matrix.test != 'false' }}
uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-cov

- name: Run Cargo Test
if: matrix.test != 'false'
# TODO: run llvm-cov only for single build since other builds are not sent to codecov anyway
- name: Run cargo llvm-cov test
if: ${{ env.WITH_COVERAGE == 'true' && matrix.test != 'false' }}
run: cargo llvm-cov --workspace ${{ matrix.features }} --lcov --target ${{ matrix.target }} --output-path lcov.info

- name: Upload Coverage to Codecov
if: matrix.build == 'darwin-arm64'
if: ${{ env.WITH_COVERAGE == 'true' && matrix.test != 'false' }}
uses: Wandalen/wretry.action@v3
with:
action: codecov/codecov-action@v4
Expand Down
66 changes: 0 additions & 66 deletions .github/workflows/test-jit.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .graphqlrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
schema:
- "./examples/jsonplaceholder.graphql"
- "./generated/.tailcallrc.graphql"
# for tests inside the repo
- "./tests/graphql_spec.graphql"
Loading

0 comments on commit fd40085

Please sign in to comment.