Adjust the GHA workflow per yamllint rules
This commit is contained in:
parent
a737e68aed
commit
cde4774fb1
|
@ -1,12 +1,15 @@
|
|||
---
|
||||
|
||||
name: Test Upload
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
on: # yamllint disable-line rule:truthy
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
services:
|
||||
devpi:
|
||||
image: muccg/devpi
|
||||
|
@ -14,6 +17,7 @@ jobs:
|
|||
DEVPI_PASSWORD: abcd1234
|
||||
ports:
|
||||
- 3141
|
||||
|
||||
steps:
|
||||
- run: python3 -m pip install --upgrade pip build twine
|
||||
- run: mkdir -p src/test_package
|
||||
|
@ -34,7 +38,8 @@ jobs:
|
|||
env:
|
||||
TWINE_USERNAME: root
|
||||
TWINE_PASSWORD: abcd1234
|
||||
TWINE_REPOSITORY_URL: http://localhost:${{ job.services.devpi.ports['3141'] }}/root/public/
|
||||
TWINE_REPOSITORY_URL: >-
|
||||
http://localhost:${{ job.services.devpi.ports['3141'] }}/root/public/
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: test
|
||||
|
@ -43,3 +48,5 @@ jobs:
|
|||
user: root
|
||||
password: abcd1234
|
||||
repository_url: http://devpi:3141/root/public/
|
||||
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue