test Config #99
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: pypi-deployment | |
on: [push] | |
jobs: | |
main-package: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.11", "3.12"] | |
env: | |
OS: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
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: | | |
conda info | |
conda list | |
conda config --show-sources | |
conda config --show | |
python -m pytest -vvv --cov=cleopatra --cov-report=xml | |
- name: Upload coverage reports to Codecov with GitHub Action | |
uses: codecov/codecov-action@v3 |