improve startup error message when bind on http port fails #111
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: vLEI | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.19 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.10.4 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Run tests | |
run: | | |
pytest | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.10.4 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.10.4 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest pytest-cov codecov | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Run core vLEI tests | |
run: | | |
pytest --cov=./ --cov-report=xml | |
codecov |