Attempt to add forgejo workflow #2
1 changed files with 5 additions and 3 deletions
|
|
@ -16,20 +16,22 @@ jobs:
|
|||
run: |
|
||||
apt-get update
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
python3 python3-venv pipx curl git ca-certificates nodejs
|
||||
python3-venv pipx
|
||||
|
||||
- name: Install Poetry
|
||||
run: |
|
||||
pipx install poetry==1.8.3
|
||||
poetry --version
|
||||
/root/.local/bin/poetry --version
|
||||
|
||||
- name: Install project deps (including test extras)
|
||||
env:
|
||||
POETRY_VIRTUALENVS_IN_PROJECT: "true"
|
||||
PATH: "$PATH:/root/.local/bin"
|
||||
run: |
|
||||
poetry install --with test
|
||||
|
||||
- name: Run test script
|
||||
env:
|
||||
PATH: "$PATH:/root/.local/bin"
|
||||
run: |
|
||||
chmod +x ./tests.sh
|
||||
./tests.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue