Skip to content

Test: test: compat: support various platforms and slow CI * can't assume number of null bytes in gzip result i.e. number of null byte-terminated log messages produced by this test * can't use echo -n … in OS X / Darwin -- use printf instead * protect against inappropriate failure on slow machine #69

Test: test: compat: support various platforms and slow CI * can't assume number of null bytes in gzip result i.e. number of null byte-terminated log messages produced by this test * can't use echo -n … in OS X / Darwin -- use printf instead * protect against inappropriate failure on slow machine

Test: test: compat: support various platforms and slow CI * can't assume number of null bytes in gzip result i.e. number of null byte-terminated log messages produced by this test * can't use echo -n … in OS X / Darwin -- use printf instead * protect against inappropriate failure on slow machine #69

Workflow file for this run

#
# Build & test library
#
name: Test
run-name: "Test: ${{ github.event.head_commit.message }}"
on: [push]
jobs:
build-test:
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system:
- ubuntu-latest
- macos-latest
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Check out repository
uses: actions/checkout@v3
- name: Install library dependencies
run: |
pip install poetry
poetry install --only main --only test
- name: Test library
run: poetry run pytest