7
.github/workflows/build-test.yml
vendored
7
.github/workflows/build-test.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Python package
|
||||
name: build & test
|
||||
on:
|
||||
push:
|
||||
branches: main
|
||||
@ -10,7 +10,7 @@ on:
|
||||
- '**.py'
|
||||
- .github/workflows/build-test.yml
|
||||
jobs:
|
||||
build:
|
||||
build-test:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
@ -29,7 +29,8 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
|
||||
echo "export PATH=\"\${HOME}/.poetry/bin;\${PATH}\"" >> "${HOME}/.bashrc"
|
||||
echo "export PATH=\"${HOME}/.poetry/bin;\${PATH}\"" >> "${HOME}/.bashrc"
|
||||
echo "source ${HOME}/.poetry/env" >> "${HOME}/.bashrc"
|
||||
source "${HOME}/.bashrc"
|
||||
|
||||
- name: Build
|
||||
|
||||
Reference in New Issue
Block a user