зеркало из
https://github.com/VIGINUM-FR/D3lta.git
synced 2025-10-29 13:06:10 +02:00
✅ Add test on github ci
Этот коммит содержится в:
родитель
aefc13ce31
Коммит
6a889baf1a
22
.github/workflows/publish-to-pypi.yml
поставляемый
22
.github/workflows/publish-to-pypi.yml
поставляемый
@ -4,8 +4,30 @@ name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
|
|||||||
on: push
|
on: push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
unit-test:
|
||||||
|
name: Run unit tests 🤾
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: "3.11"
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
pip install poetry
|
||||||
|
poetry install --with dev
|
||||||
|
- name: Build a binary wheel and a source tarball
|
||||||
|
run:
|
||||||
|
poetry run pytest
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build distribution 📦
|
name: Build distribution 📦
|
||||||
|
needs:
|
||||||
|
- unit-test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Загрузка…
x
Ссылка в новой задаче
Block a user