Skip to content

Merge pull request #30 from Serapieum-of-alex/more-distributions #8

Merge pull request #30 from Serapieum-of-alex/more-distributions

Merge pull request #30 from Serapieum-of-alex/more-distributions #8

name: pypi-deployment
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.os }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
pip install -r requirements.txt -r requirements-dev.txt
python setup.py install
- name: Generate coverage report
run: |
python -m pytest -vvv --cov=statista --cov-report=xml
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3