Merge pull request #3 from bernatsort/dev #12
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: CI Pipeline | |
# on: [push, pull_request] | |
on: | |
push: | |
branches: | |
- main # Ejecuta la pipeline en push a la rama main | |
pull_request: | |
branches: | |
- '*' # Ejecuta la pipeline en todas las pull requests | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest sqlalchemy pandas openpyxl | |
- name: Run tests | |
run: | | |
pytest tests/ |