Skip to content

Add CI job to check that analysis_default_regression.py is always a link#6811

Open
EZoni wants to merge 2 commits intoBLAST-WarpX:developmentfrom
EZoni:check_type_analysis_default_regression
Open

Add CI job to check that analysis_default_regression.py is always a link#6811
EZoni wants to merge 2 commits intoBLAST-WarpX:developmentfrom
EZoni:check_type_analysis_default_regression

Conversation

@EZoni
Copy link
Copy Markdown
Member

@EZoni EZoni commented Apr 27, 2026

Overview

Add a CI job to check that analysis_default_regression.py in Examples/Tests/ or Examples/Physics_applications/ is always a link, not a hard copy, to prevent errors such as the one fixed in #6810.

Screenshot from 2026-04-27 11-51-50

To do

@EZoni EZoni added the component: tests Tests and CI label Apr 27, 2026
@EZoni EZoni force-pushed the check_type_analysis_default_regression branch from 7028dd9 to f6448f0 Compare April 27, 2026 18:49
RemiLehe pushed a commit that referenced this pull request Apr 28, 2026
## Overview

The file `analysis_default_regression.py` in the directory of the pierce
diode test, originally added in #5999, is a hard copy but should be a
link, as described in our documentation at
[warpx.readthedocs.io/en/latest/developers/how_to_test.html#how-to-add-automated-tests](https://warpx.readthedocs.io/en/latest/developers/how_to_test.html#how-to-add-automated-tests):

> 6. If the test directory is new, make a symbolic link to the default
regression analysis script analysis_default_regression.py from
[Examples/analysis_default_regression.py](https://github.com/BLAST-WarpX/warpx/blob/development/Examples/analysis_default_regression.py),
by running `ln -s ../../analysis_default_regression.py
analysis_default_regression.py` from the test directory.

This was observed in
#6801 (comment).

## Related PRs

- #6811
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: tests Tests and CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants