Skip to content

Test checks on os + python version #151

Test checks on os + python version

Test checks on os + python version #151

Workflow file for this run

name: Build workflow-testing
on:
push:
branches:
- "**"
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
get-archi:
strategy:
matrix:
python-version: ["3.9", "3.12"]
os: ["macos-latest", "macos-12", "windows-latest", "ubuntu-latest"]
exclude:
- os: macos-12
arch: arm64

Check failure on line 25 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build workflow-testing

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 25, Col: 13): Matrix exclude key 'arch' does not match any key within the matrix .github/workflows/build.yml (Line: 27, Col: 13): Matrix exclude key 'arch' does not match any key within the matrix
- os: macos-latest
arch: x86_64
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- run: |
echo ${{ matrix }}
uname -a
if [ "${{ startsWith(matrix.os, 'windows') || (startsWith(matrix.os, 'macos') && matrix.python-version == '3.12') }}" == true ]; then
echo "install toulbar2"
pip install "${wheelfile}[toulbar]"
python -c "import pytoulbar2"
fi