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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: main
|
branches: main
|
||||||
@ -10,7 +10,7 @@ on:
|
|||||||
- '**.py'
|
- '**.py'
|
||||||
- .github/workflows/build-test.yml
|
- .github/workflows/build-test.yml
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-test:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
@ -29,7 +29,8 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
|
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"
|
source "${HOME}/.bashrc"
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
Reference in New Issue
Block a user