Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2021-12-08 14:10:53 -08:00
parent f46dd1ec87
commit e03216bbad

View File

@ -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