Skip to content

Configure Toolforge health-check-path #4

Configure Toolforge health-check-path

Configure Toolforge health-check-path #4

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
test-defaults:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: pip install --upgrade pip cookiecutter
- run: |
cd "${TMPDIR:-/tmp}"
cookiecutter --no-input "${GITHUB_WORKSPACE}"
python3 -m venv venv
. venv/bin/activate
pip install -r example-tool/requirements.txt
python example-tool/app.py
test-all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: pip install --upgrade pip cookiecutter
- run: |
cd "${TMPDIR:-/tmp}"
cookiecutter --no-input --config-file "${GITHUB_WORKSPACE}/.cookiecutterrc" "${GITHUB_WORKSPACE}"
python3 -m venv venv
. venv/bin/activate
pip install -r example-tool/requirements.txt
make -C example-tool