update github actions
This commit is contained in:
parent
ec1c80f3a9
commit
b4366d2427
14
.github/workflows/pypi.yml
vendored
14
.github/workflows/pypi.yml
vendored
@ -8,14 +8,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v1
|
- name: Install poetry
|
||||||
|
uses: abatilo/actions-poetry@v1.5.0
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python_version: 3.8.0
|
||||||
|
args: install
|
||||||
- name: Build dists
|
- name: Build dists
|
||||||
run: |
|
run: |
|
||||||
python3 setup.py sdist
|
make build
|
||||||
- name: Pypi Publish
|
- name: Pypi Publish
|
||||||
uses: pypa/gh-action-pypi-publish@master
|
run: |
|
||||||
with:
|
make publish
|
||||||
user: __token__
|
|
||||||
password: ${{ secrets.pypi_password }}
|
|
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -16,13 +16,11 @@ jobs:
|
|||||||
- name: Start MySQL
|
- name: Start MySQL
|
||||||
run: sudo systemctl start mysql.service
|
run: sudo systemctl start mysql.service
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
- name: Install poetry
|
||||||
|
uses: abatilo/actions-poetry@v1.5.0
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python_version: 3.8.0
|
||||||
- name: Install dependencies
|
args: install
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install -r requirements-dev.txt
|
|
||||||
- name: CI
|
- name: CI
|
||||||
env:
|
env:
|
||||||
MYSQL_PASS: root
|
MYSQL_PASS: root
|
||||||
|
Loading…
x
Reference in New Issue
Block a user