Skip to content

Merge pull request #97 from hartwork/dependabot/github_actions/action… #272

Merge pull request #97 from hartwork/dependabot/github_actions/action…

Merge pull request #97 from hartwork/dependabot/github_actions/action… #272

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@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- 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