This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
run all tests, add to README, update test_retriever #63
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
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 --with-coverage --cover-package=httpobs |