update github actions
update github actions update github actions update github actions update github actions update github actions update github actions update github actions update github actions update github actions update github actions
This commit is contained in:
11
.github/workflows/pypi.yml
vendored
11
.github/workflows/pypi.yml
vendored
@@ -8,14 +8,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install poetry
|
||||
uses: abatilo/actions-poetry@v1.5.0
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python_version: 3.8.0
|
||||
args: install
|
||||
- name: Build dists
|
||||
run: |
|
||||
make build
|
||||
python-version: '3.x'
|
||||
- uses: dschep/install-poetry-action@v1.3
|
||||
- name: Pypi Publish
|
||||
run: |
|
||||
make build
|
||||
make publish
|
||||
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@@ -16,11 +16,10 @@ jobs:
|
||||
- name: Start MySQL
|
||||
run: sudo systemctl start mysql.service
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install poetry
|
||||
uses: abatilo/actions-poetry@v1.5.0
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python_version: 3.8.0
|
||||
args: install
|
||||
python-version: '3.x'
|
||||
- uses: dschep/install-poetry-action@v1.3
|
||||
- name: CI
|
||||
env:
|
||||
MYSQL_PASS: root
|
||||
|
||||
Reference in New Issue
Block a user