Skip to content

adjust Makefile.dist and setup.py #83

adjust Makefile.dist and setup.py

adjust Makefile.dist and setup.py #83

name: Build and test
on:
push:
branches: [ main ]
workflow_dispatch:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
os:
- ubuntu-latest
- macos-latest
#- windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build
run: make pynauty
- name: Test
run: |
make minimal-test
make tests