Skip to content

build: add version variable to init.py #8

build: add version variable to init.py

build: add version variable to init.py #8

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
PYTHONUNBUFFERED: 1
FORCE_COLOR: 1
CLICOLOR_FORCE: 1
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: python -m pip install --upgrade pip
- run: python -m pip install --editable .
- run: python -m pip install pytest
- run: pytest pydracor/test_dracor.py -v -ra --showlocals
importable:
name: "Importable on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- run: python -Im pip install .
- run: python -Ic 'import pydracor; print(pydracor.__version__)'