Skip to content

requirements(deps): bump pytest from 8.1.1 to 8.2.0 #459

requirements(deps): bump pytest from 8.1.1 to 8.2.0

requirements(deps): bump pytest from 8.1.1 to 8.2.0 #459

Workflow file for this run

# Copyright (C) 2020 Sebastian Pipping <sebastian@pipping.org>
# Licensed under GPL v2 or later
name: Run the test suite
on:
- pull_request
- push
jobs:
run-tests:
name: Run the test suite
strategy:
matrix:
python-version: [3.9, 3.12] # no particular need for in-between versions
runs-on: [macos-11, ubuntu-22.04]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Run the test suite
run: |
set -x
python3 --version
pip3 install -U setuptools # for Python >=3.12
python3 setup.py test
# Once again with pytest for its warnings
pip3 install --require-hashes -r requirements.txt
pytest -v -s -Wdefault -Werror
- name: Smoke test the CLI
run: |
set -x
pip3 install -e .
resolve-march-native --gcc=gcc-11 --vertical