Skip to content

Commit

Permalink
Update versioneer and some other things
Browse files Browse the repository at this point in the history
  • Loading branch information
moggers87 committed Apr 7, 2024
1 parent f36a2be commit f594d20
Show file tree
Hide file tree
Showing 6 changed files with 1,057 additions and 440 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,20 @@ on:
push:
branches:
- main
schedule:
- cron: '01 07 * * 1'

jobs:
unit-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install pandoc on Mac
Expand All @@ -36,19 +34,19 @@ jobs:
- name: Run tox
run: tox
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4

misc:
runs-on: ubuntu-latest
strategy:
matrix:
tox_env: [flake8, isort, docs]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.12"
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down
6 changes: 2 additions & 4 deletions exhibition/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from ._version import get_versions
from . import _version

__version__ = get_versions()['version']

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

0 comments on commit f594d20

Please sign in to comment.