DISCO-3182 Remove duplicated fixtures #20
Workflow file for this run
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
name: CI Workflow | |
on: pull_request | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up to run | |
uses: ./.github/actions/weave | |
- name: Run Code Linting | |
run: make -k lint | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up to run | |
uses: ./.github/actions/weave | |
- name: Run unit tests | |
run: make unit-tests | |
env: | |
TEST_RESULTS_DIR: workspace/test-results | |
- name: Generate Test Coverage | |
run: make coverage-unit | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: unit-test-results | |
include-hidden-files: true | |
path: | | |
workspace/test-results | |
integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up to run | |
uses: ./.github/actions/weave | |
- name: Run Integration Tests | |
run: make integration-tests | |
env: | |
TEST_RESULTS_DIR: workspace/test-results | |
- name: Generate Test Coverage | |
run: make coverage-integration | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: integration-test-results | |
include-hidden-files: true | |
path: | | |
workspace/test-results | |
test-coverage-checks: | |
needs: [unit-tests, integration-tests] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up to run | |
uses: ./.github/actions/weave | |
- name: Download All Artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
path: workspace/test-results/ | |
merge-multiple: true | |
- name: Evaluate Minimum Test Coverage | |
run: make test-coverage-check | |
env: | |
TEST_RESULTS_DIR: workspace/test-results |