updated dependencies
All checks were successful
CI / build (push) Successful in 15s

added topic class
This commit is contained in:
2024-10-24 02:48:51 +08:00
parent 4bddc35633
commit ae1629c115
8 changed files with 321 additions and 52 deletions

View File

@@ -1,25 +1,29 @@
name: CI
on:
push:
branches: [ master ]
tags:
- '*'
jobs:
build:
runs-on: woryzen
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-python@v5
with:
cache: 'pip'
- name: Create virtualenv
run: |
python -m venv .venv
.venv/bin/pip install -r requirements.txt
.venv/bin/pip install -r requirements-dev.txt
- name: Run unit tests
run: .venv/bin/python -m unittest discover -s tests
- name: Execute build
run: |
.venv/bin/python -m build
.venv/bin/pyproject-build
- name: Publish artifacts
env:
TWINE_REPOSITORY_URL: ${{ vars.PYPI_REGISTRY_URL }}