Skip to content

Commit 2caabec

Browse files
committed
run it as its own test
woops try it now try it now this too try it like this ? this update PHP why? asdf WHAT this? run on latest
1 parent 5270c50 commit 2caabec

22 files changed

Lines changed: 65 additions & 775 deletions

File tree

.github/workflows/duvet.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Run Tests
2+
3+
on:
4+
workflow_call:
5+
# Optional inputs that can be provided when calling this workflow
6+
7+
jobs:
8+
test:
9+
runs-on: macos-latest
10+
permissions:
11+
id-token: write
12+
contents: read
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
with:
18+
submodules: true
19+
token: ${{ secrets.PAT_FOR_PRIVATE_RUBY }}
20+
21+
- name: Setup Rust toolchain
22+
uses: actions-rust-lang/setup-rust-toolchain@v1
23+
with:
24+
toolchain: stable
25+
26+
- name: Install Rust package
27+
run: cargo install duvet
28+
29+
- name: Run duvet
30+
if: always()
31+
run: cd test-server && make duvet
32+
33+
- name: Upload duvet reports
34+
if: always()
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: reports
38+
include-hidden-files: true
39+
path: test-server/*-server/.duvet/reports/report.html

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ jobs:
2323
with:
2424
python-version: ${{ inputs.python-version || '3.11' }}
2525
secrets: inherit
26+
27+
run-duvet:
28+
name: Run Duvet
29+
uses: ./.github/workflows/duvet.yml
30+
secrets: inherit

.github/workflows/test.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -105,25 +105,6 @@ jobs:
105105
TEST_SERVER_KMS_KEY_ARN: ${{ vars.TEST_SERVER_KMS_KEY_ARN }}
106106
GRADLE_OPTS: "-Dorg.gradle.daemon=true -Dorg.gradle.parallel=true -Dorg.gradle.caching=true"
107107

108-
- name: Setup Rust toolchain
109-
uses: actions-rust-lang/setup-rust-toolchain@v1
110-
with:
111-
toolchain: stable
112-
113-
- name: Install Rust package
114-
run: cargo install duvet
115-
116-
- name: Run duvet
117-
if: always()
118-
run: cd test-server && make duvet
119-
120-
- name: Upload duvet reports
121-
if: always()
122-
uses: actions/upload-artifact@v4
123-
with:
124-
name: reports
125-
path: test-server/*-server/.duvet/reports/report.html
126-
127108
- name: Upload results
128109
if: always()
129110
uses: actions/upload-artifact@v4

test-server/cpp-v2-server/.duvet/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ enabled = true
1717

1818
# Enable snapshots to prevent requirement coverage regressions
1919
[report.snapshot]
20-
enabled = true
20+
enabled = false

test-server/cpp-v2-server/.duvet/snapshot.txt

Lines changed: 0 additions & 83 deletions
This file was deleted.

test-server/go-v3-server/.duvet/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ enabled = true
1414

1515
# Enable snapshots to prevent requirement coverage regressions
1616
[report.snapshot]
17-
enabled = true
17+
enabled = false

test-server/go-v3-server/.duvet/snapshot.txt

Lines changed: 0 additions & 83 deletions
This file was deleted.

test-server/java-v3-server/.duvet/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ enabled = true
1414

1515
# Enable snapshots to prevent requirement coverage regressions
1616
[report.snapshot]
17-
enabled = true
17+
enabled = false

0 commit comments

Comments
 (0)