Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

update README, add httpobs-local-scan script to poetry #62

update README, add httpobs-local-scan script to poetry

update README, add httpobs-local-scan script to poetry #62

Workflow file for this run

on:
push:
branches:
- master
- next
pull_request:
branches:
- master
- next
name: Run tests
jobs:
test:
name: nose tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.11' ]
env:
HTTPOBS_DATABASE_HOST: fakehost
HTTPOBS_DATABASE_PASS: foo
HTTPOBS_DATABASE_USER: bar
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install poetry
poetry config virtualenvs.create false
poetry install
- name: Run pre-commit against all files
run: pre-commit run --all-files
- name: Run nose tests
run: nosetests httpobs/tests -e insert_test_result -e scored_test -e select_test_results -e test_retrieve --with-coverage --cover-package=httpobs