Skip to content

pyproject: Update description #136

pyproject: Update description

pyproject: Update description #136

Workflow file for this run

name: Pipeline
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Setup xvfb
run: |
sudo apt-get install -y xvfb
Xvfb :1 -screen 0 1024x1024x16 &
- name: Run Tests
env:
DISPLAY: :1
run: |
python -m pip install -e .[test]
python -m pytest
- name: Build package
run: |
python -m pip install --upgrade build
python -m build
- name: Publish package
if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}