fix: Cambio en la variable de github #38
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: Test | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- '*' | |
env: | |
PYTHON_VERSION: '3.11.8' | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
cache: 'pip' | |
- name: Upgrade pip | |
run: pip3 install --upgrade pip | |
- name: Install python dependencies | |
run: pip3 install -r requirements.txt | |
- name: Run unit-tests | |
run: pytest --cov=src --cov-report=term-missing src/tests |