Skip to content

Actions(deps): Bump actions/setup-python from 5.1.0 to 5.1.1 #492

Actions(deps): Bump actions/setup-python from 5.1.0 to 5.1.1

Actions(deps): Bump actions/setup-python from 5.1.0 to 5.1.1 #492

Workflow file for this run

# Copyright (C) 2020 Sebastian Pipping <[email protected]>
# 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-12, ubuntu-22.04]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
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