Skip to content

64 bit signed arithmetic support #225

64 bit signed arithmetic support

64 bit signed arithmetic support #225

Workflow file for this run

name: Python application
on:
push:
branches: [ "master", "development" ]
pull_request:
branches: [ "master", "development" ]
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
- name: Pre-commit checks
run: |
python -m pip install pre-commit
pre-commit run --all-files
- name: Test with pytest
run: |
pip install pytest-cov
pip install .
pytest tests --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
- name: Test optional dependencies with pytest
run: |
pip install pytest-cov
pip install .[all]
pytest tests --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html -m optional_dependency