update github actions
This commit is contained in:
parent
5b9b51db3f
commit
7b4b7ac749
14
.github/workflows/pypi.yml
vendored
14
.github/workflows/pypi.yml
vendored
@ -6,19 +6,13 @@ on:
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
POETRY_VIRTUALENVS_CREATE: false
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install poetry
|
||||
uses: abatilo/actions-poetry@v1.5.0
|
||||
env:
|
||||
POETRY_VIRTUALENVS_CREATE: false
|
||||
with:
|
||||
python_version: 3.8.0
|
||||
poetry_version: 1.0.5
|
||||
args: install
|
||||
- name: Build dists
|
||||
run: |
|
||||
make build
|
||||
run: curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3
|
||||
- name: Pypi Publish
|
||||
run: |
|
||||
make build
|
||||
make publish
|
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -3,6 +3,8 @@ on: [push, pull_request]
|
||||
jobs:
|
||||
testall:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
POETRY_VIRTUALENVS_CREATE: false
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:latest
|
||||
@ -17,13 +19,7 @@ jobs:
|
||||
run: sudo systemctl start mysql.service
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install poetry
|
||||
uses: abatilo/actions-poetry@v1.5.0
|
||||
env:
|
||||
POETRY_VIRTUALENVS_CREATE: false
|
||||
with:
|
||||
python_version: 3.8.0
|
||||
poetry_version: 1.0.5
|
||||
args: install
|
||||
run: curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3
|
||||
- name: CI
|
||||
env:
|
||||
MYSQL_PASS: root
|
||||
|
Loading…
x
Reference in New Issue
Block a user