Skip to content

Commit

Permalink
update versioneer
Browse files Browse the repository at this point in the history
mloubout committed Mar 26, 2024

Verified

This commit was signed with the committer’s verified signature.
mloubout Mathias Louboutin
1 parent 16fedf2 commit eb2f51f
Show file tree
Hide file tree
Showing 4 changed files with 1,053 additions and 429 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/pytest-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,35 @@ on:
jobs:
Build-linux:
runs-on: ${{ matrix.os }}
env:
CC: gcc-9

strategy:
matrix:
os: [ubuntu-20.04, ubuntu-latest]
python-version: [3.8, 3.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest numpy
pip install -e .[compression]
env:
PYTHONPATH: $PWD

- name: Run examples
run: |
python examples/use_classic.py
python examples/use_modernised.py
- name: Test with pytest
run: py.test -vs tests

5 changes: 2 additions & 3 deletions pyrevolve/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
from pyrevolve.pyrevolve import * # noqa
from pyrevolve.crevolve import * # noqa

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from . import _version
__version__ = _version.get_versions()['version']
Loading

0 comments on commit eb2f51f

Please sign in to comment.