Skip to content

Revamp Terminal Utilities and Queries #371

Revamp Terminal Utilities and Queries

Revamp Terminal Utilities and Queries #371

Workflow file for this run

# This workflow will build and install the package with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: build
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Test package build and installation (for non-Windows)
if: matrix.os != 'windows-latest'
run: |
make build
pip install -I dist/*.whl
pip install -I dist/*.tar.gz
- name: Test package build and installation (for Windows)
if: matrix.os == 'windows-latest'
run: |
make build
pip install -I dist\$(Get-ChildItem -Path dist\*.whl -Name)
pip install -I dist\$(Get-ChildItem -Path dist\*.tar.gz -Name)