Skip to content

Commit

Permalink
simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed Nov 22, 2023
1 parent a39abd0 commit a000313
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 137 deletions.
85 changes: 0 additions & 85 deletions .circleci/config.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,3 @@ jobs:
. venv/bin/activate
pip install nose2
nose2
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v3
with:
name: python-package-distributions
path: dist/
25 changes: 25 additions & 0 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,31 @@ on:

jobs:

deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python3 -m venv venv
. venv/bin/activate
pip install setuptools wheel twine
pip install -r requirements.txt
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USER }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py bdist_wheel --universal
twine upload dist/*
version:
runs-on: ubuntu-latest
outputs:
Expand Down
45 changes: 0 additions & 45 deletions .github/workflows/python_publish.yaml

This file was deleted.

0 comments on commit a000313

Please sign in to comment.