Skip to content

Commit 41acb90

Browse files
[CDAPI-85]: Removed contract, integration, schema and acceptance tests from stage-2-test workflow
1 parent cf23ece commit 41acb90

File tree

1 file changed

+0
-90
lines changed

1 file changed

+0
-90
lines changed

.github/workflows/stage-2-test.yaml

Lines changed: 0 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -60,93 +60,3 @@ jobs:
6060
uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4
6161
with:
6262
paths: pathology-api/test-artefacts/unit-tests.xml
63-
64-
test-contract:
65-
name: "Contract tests"
66-
runs-on: ubuntu-latest
67-
timeout-minutes: 5
68-
steps:
69-
- name: "Checkout code"
70-
uses: actions/checkout@v6
71-
- name: "Setup Python project"
72-
uses: ./.github/actions/setup-python-project
73-
with:
74-
python-version: ${{ inputs.python_version }}
75-
- name: "Start local Lambda"
76-
uses: ./.github/actions/start-local-lambda
77-
with:
78-
python-version: ${{ inputs.python_version }}
79-
- name: "Run contract tests"
80-
run: make test-contract
81-
- name: "Upload contract test results"
82-
if: always()
83-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
84-
with:
85-
name: contract-test-results
86-
path: pathology-api/test-artefacts/
87-
retention-days: 30
88-
- name: "Publish contract test results to summary"
89-
if: always()
90-
uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4
91-
with:
92-
paths: pathology-api/test-artefacts/contract-tests.xml
93-
94-
test-schema:
95-
name: "Schema validation tests"
96-
runs-on: ubuntu-latest
97-
timeout-minutes: 10
98-
steps:
99-
- name: "Checkout code"
100-
uses: actions/checkout@v6
101-
- name: "Setup Python project"
102-
uses: ./.github/actions/setup-python-project
103-
with:
104-
python-version: ${{ inputs.python_version }}
105-
- name: "Start local Lambda"
106-
uses: ./.github/actions/start-local-lambda
107-
with:
108-
python-version: ${{ inputs.python_version }}
109-
- name: "Run schema validation tests"
110-
run: make test-schema
111-
- name: "Upload schema test results"
112-
if: always()
113-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
114-
with:
115-
name: schema-test-results
116-
path: pathology-api/test-artefacts/
117-
retention-days: 30
118-
- name: "Publish schema test results to summary"
119-
if: always()
120-
uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4
121-
with:
122-
paths: pathology-api/test-artefacts/schema-tests.xml
123-
124-
test-integration:
125-
name: "Integration tests"
126-
runs-on: ubuntu-latest
127-
timeout-minutes: 10
128-
steps:
129-
- name: "Checkout code"
130-
uses: actions/checkout@v6
131-
- name: "Setup Python project"
132-
uses: ./.github/actions/setup-python-project
133-
with:
134-
python-version: ${{ inputs.python_version }}
135-
- name: "Start local Lambda"
136-
uses: ./.github/actions/start-local-lambda
137-
with:
138-
python-version: ${{ inputs.python_version }}
139-
- name: "Run integration test"
140-
run: make test-integration
141-
- name: "Upload integration test results"
142-
if: always()
143-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f #v7.0.0
144-
with:
145-
name: integration-test-results
146-
path: pathology-api/test-artefacts/
147-
retention-days: 30
148-
- name: "Publish integration test results to summary"
149-
if: always()
150-
uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4
151-
with:
152-
paths: pathology-api/test-artefacts/integration-tests.xml

0 commit comments

Comments
 (0)