Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
update pip
Browse files Browse the repository at this point in the history
  • Loading branch information
romnn committed Sep 5, 2021
1 parent 7323c8c commit 5489287
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 48 deletions.
63 changes: 32 additions & 31 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@
name: release

on:
push:
tags:
- '*'
push:
tags:
- "*"

jobs:
publish-pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- id: query
uses: romnnn/query-git-action@master
publish-pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- id: query
uses: romnnn/query-git-action@master
- name: Update pip
run: pip install --upgrade pip
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
31 changes: 17 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@ name: test
on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- run: pip install tox wheel
- name: Test
run: tox
- uses: codecov/codecov-action@v1
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- run: |
pip install --upgrade pip
pip install tox wheel
- name: Test
run: tox
- uses: codecov/codecov-action@v1
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ m2r = "*"
twine = "*"
bump2version = "*"
pylint = "*"
setuptools_rust = "*"

[packages]
22 changes: 19 additions & 3 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5489287

Please sign in to comment.