# Copyright (C) 2020 Sebastian Pipping # Licensed under GPL v3 or later name: Run the test suite on: - pull_request - push jobs: run-tests: name: Run the test suite strategy: matrix: python-version: ["3.10", 3.14] # no particular need for in-between versions runs-on: [macos-latest, ubuntu-latest] runs-on: ${{ matrix.runs-on }} steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version: ${{ matrix.python-version }} - name: Run the test suite run: | set -x python3 --version pip3 install -U pip setuptools wheel pip3 install ".[tests]" # for test dependencies pip3 install -U pytest # for a test runner exec pytest -v -Wdefault -Werror