Update README.md #1
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: Práctico 04 | |
on: | |
push: | |
branches: "**4**" | |
workflow_dispatch: | |
jobs: | |
basic-test: | |
name: Test Básicos | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: 'x64' | |
- name: Install Dependencies | |
run: pip install pytest | |
- name: Run Basic Tests | |
run: pytest practico_04/practico_04_test.py | |
style-test: | |
needs: basic-test | |
name: Verificación de Estilo (Flake8) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: 'x64' | |
- name: Install Flake8 | |
run: pip install flake8 | |
- name: Test Style | |
run: flake8 practico_04 --count --max-complexity=10 --max-line-length=130 --ignore=E266,F401,E402 --statistics --show-source | |