Skip to content

Update python-package.yml #1065

Update python-package.yml

Update python-package.yml #1065

Workflow file for this run

name: Pruebas de Integración Continua
on:
push:
branches: [ main, development ]
pull_request:
branches: [ main, development ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install -r development.txt
python setup.py develop
- name: Proyecto distribuible
run: |
python -m build
twine check dist/*
- name: Test with pytest
run: |
sleep 5
export CACAO_TEST=True
export CACAO_TEST_SLOW=True
python -m pytest -v --exitfirst --cov=cacao_accounting
- name: Codecov
uses: codecov/codecov-action@v1