- fixed and clarified docu #108
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_mutation_testing | |
on: | |
pull_request: | |
branches: [ '**' ] | |
jobs: | |
run-robot-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.13"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/setup-uv@v3 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
uv lock | |
uv sync --extra test | |
- name: Run cosmic-ray mutation testing base | |
run: | | |
uv run cosmic-ray init mutation_testing/mutation_base.toml mutation_testing/mutation_base.toml.sqlite | |
uv run cosmic-ray --verbosity=INFO baseline mutation_testing/mutation_base.toml | |
uv run cosmic-ray exec mutation_testing/mutation_base.toml mutation_testing/mutation_base.toml.sqlite | |
uv run cr-html mutation_testing/mutation_base.toml.sqlite > report_mutations_base.html | |
uv run cr-report mutation_testing/mutation_base.toml.sqlite | |
- name: Run cosmic-ray mutation testing reflector | |
run: | | |
uv run cosmic-ray init mutation_testing/mutation_reflector.toml mutation_testing/mutation_reflector.toml.sqlite | |
uv run cr-filter-git --verbosity=INFO --config=mutation_testing/mutation_reflector.toml mutation_testing/mutation_reflector.toml.sqlite | |
uv run cosmic-ray --verbosity=INFO baseline mutation_testing/mutation_reflector.toml | |
uv run cosmic-ray exec mutation_testing/mutation_reflector.toml mutation_testing/mutation_reflector.toml.sqlite | |
uv run cr-html mutation_testing/mutation_reflector.toml.sqlite > report_mutations_reflector.html | |
uv run cr-report mutation_testing/mutation_reflector.toml.sqlite | |
- name: Run cosmic-ray mutation testing regmap | |
run: | | |
uv run cosmic-ray init mutation_testing/mutation_regmap.toml mutation_testing/mutation_regmap.toml.sqlite | |
uv run cosmic-ray --verbosity=INFO baseline mutation_testing/mutation_regmap.toml | |
uv run cosmic-ray exec mutation_testing/mutation_regmap.toml mutation_testing/mutation_regmap.toml.sqlite | |
uv run cr-html mutation_testing/mutation_regmap.toml.sqlite > report_mutations_regmap.html | |
uv run cr-report mutation_testing/mutation_regmap.toml.sqlite | |
- name: Upload cosmic ray log | |
uses: actions/upload-artifact@v3 | |
with: | |
name: cosmic_ray_log | |
path: report_mutations*.html |