Skip to content

0.8.9

0.8.9 #31

Workflow file for this run

name: release
on:
release:
types: [released]
jobs:
codecov:
runs-on: ubuntu-latest
container:
image: analysiscenter1/ds-py3:3.8
options: --entrypoint ""
steps:
- uses: actions/checkout@v3
- name: Generate coverage report
run: |
pip3 install -U pytest-cov
pytest -m "not slow" --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
run: |
pip3 install -U codecov
codecov -t ${{ secrets.CODECOV_TOKEN }}
pypi:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
run: pip install --user --upgrade pip poetry
- name: Build
run: |
poetry install
poetry build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1