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