Skip to content

Merge pull request #96 from hartwork/precommit-autoupdate #269

Merge pull request #96 from hartwork/precommit-autoupdate

Merge pull request #96 from hartwork/precommit-autoupdate #269

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.8, 3.11] # no particular need for in-between versions
runs-on: [macos-11, ubuntu-22.04]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ matrix.python-version }}
- name: Run the test suite
run: |
set -x
python --version
python setup.py test
- name: Smoke test the CLI
run: |
set -x
pip install -e .
resolve-march-native --gcc=gcc-11 --vertical