Skip to content

httpbin Tests

httpbin Tests #30

Workflow file for this run

name: "httpbin Tests"
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
schedule:
- cron: '5 5 */14 * *'
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version:
- '3.7' # legacy
- '3.x' # latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Configure poetry
run: poetry config virtualenvs.in-project true
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: Install dependencies
run: poetry install --with dev
- name: Run tests
run: poetry run python3 ./test_httpbin.py