Skip to content

v1.0.3

v1.0.3 #1

Workflow file for this run

name: Upload Python Package
on:
release:
types: [published]
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch==1.12.0
- name: Test
run: hatch run dev:pytest
- name: Static analysis
run: |
hatch run dev:flake8 --config=.flake8 reed_solomon_ccsds/ tests/
hatch run dev:mypy reed_solomon_ccsds/ tests/
- name: Build package
run: hatch build
- name: Publish package
uses: pypa/gh-action-pypi-publish@v1.9.0
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}