Testing of scripts #36
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: Testing of scripts | |
on: | |
schedule: | |
- cron: '10 12 * * 5' | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pylint -r algorithm/smart-attack/requirements.txt | |
- name: Check scripts | |
run: | | |
pylint algorithm/smart-attack/smart_attack.py --fail-under=9 | |
python algorithm/smart-attack/smart_attack.py test | |
pylint algorithm/ecpp/binary_quad.py --fail-under=9 |