update github action poetry

This commit is contained in:
long2ice 2020-11-17 10:57:56 +08:00
parent 499c4e1c02
commit 5d2f1604c3
2 changed files with 9 additions and 3 deletions

View File

@ -11,7 +11,10 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: '3.x' python-version: '3.x'
- uses: abatilo/actions-poetry@v2.0.0 - name: Install and configure Poetry
uses: snok/install-poetry@v1.1.1
with:
virtualenvs-create: false
- name: Build dists - name: Build dists
run: make build run: make build
- name: Pypi Publish - name: Pypi Publish

View File

@ -1,5 +1,5 @@
name: test name: test
on: [push, pull_request] on: [ push, pull_request ]
jobs: jobs:
testall: testall:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -19,7 +19,10 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: '3.x' python-version: '3.x'
- uses: abatilo/actions-poetry@v2.0.0 - name: Install and configure Poetry
uses: snok/install-poetry@v1.1.1
with:
virtualenvs-create: false
- name: CI - name: CI
env: env:
MYSQL_PASS: root MYSQL_PASS: root