mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-07 14:58:56 +00:00
Remove mutation tests from CI
This commit is contained in:
5
.github/workflows/python-ci.yml
vendored
5
.github/workflows/python-ci.yml
vendored
@@ -80,11 +80,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pytest ${STRESS_ARGS} --cov=src --cov-report=xml --cov-report=term-missing \
|
pytest ${STRESS_ARGS} --cov=src --cov-report=xml --cov-report=term-missing \
|
||||||
--cov-fail-under=20 src/tests
|
--cov-fail-under=20 src/tests
|
||||||
- name: Run mutation tests
|
|
||||||
if: github.event_name == 'push' && runner.os == 'Linux'
|
|
||||||
run: |
|
|
||||||
python -m mutmut run --paths-to-mutate src --tests-dir src/tests --runner "python -m pytest -q" --use-coverage --no-progress
|
|
||||||
python -m mutmut results
|
|
||||||
- name: Upload coverage report
|
- name: Upload coverage report
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
10
README.md
10
README.md
@@ -195,6 +195,16 @@ pip install -r src/requirements.txt
|
|||||||
pytest -vv
|
pytest -vv
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To run mutation tests locally, generate coverage data first and then execute `mutmut`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pytest --cov=src src/tests
|
||||||
|
python -m mutmut run --paths-to-mutate src --tests-dir src/tests --runner "python -m pytest -q" --use-coverage --no-progress
|
||||||
|
python -m mutmut results
|
||||||
|
```
|
||||||
|
|
||||||
|
Mutation testing is disabled in the GitHub workflow due to reliability issues and should be run on a desktop environment instead.
|
||||||
|
|
||||||
## Security Considerations
|
## Security Considerations
|
||||||
|
|
||||||
**Important:** The password you use to encrypt your parent seed is also required to decrypt the seed index data retrieved from Nostr. **It is imperative to remember this password** and be sure to use it with the same seed, as losing it means you won't be able to access your stored index. Secure your 12-word seed **and** your master password.
|
**Important:** The password you use to encrypt your parent seed is also required to decrypt the seed index data retrieved from Nostr. **It is imperative to remember this password** and be sure to use it with the same seed, as losing it means you won't be able to access your stored index. Secure your 12-word seed **and** your master password.
|
||||||
|
Reference in New Issue
Block a user