mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
Validate only submitted Project Euler solution (#3977)
* Update validate solution script to fetch only submitted solution * Update workflow file with the updated PE script * Fix: do not fetch `validate_solutions.py` script * Update script to use the requests package for API calls * Fix: install requests module * Pytest ignore scripts/ directory
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -22,6 +22,6 @@ jobs:
|
||||
python -m pip install --upgrade pip setuptools six wheel
|
||||
python -m pip install pytest-cov -r requirements.txt
|
||||
- name: Run tests
|
||||
run: pytest --doctest-modules --ignore=project_euler/ --cov-report=term-missing:skip-covered --cov=. .
|
||||
run: pytest --doctest-modules --ignore=project_euler/ --ignore=scripts/ --cov-report=term-missing:skip-covered --cov=. .
|
||||
- if: ${{ success() }}
|
||||
run: scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
|
||||
|
||||
Reference in New Issue
Block a user