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