Skip to content

Commit

Permalink
wip fixing cis
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuDartiailh committed Jan 1, 2025
1 parent b5728aa commit 0906eb4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 41 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
python-version: ['3.12']
steps:
- uses: actions/checkout@v4
- name: Get history and tags for SCM versioning to work
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -59,6 +63,10 @@ jobs:
python-version: ['3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- name: Get history and tags for SCM versioning to work
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get history and tags for SCM versioning to work
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python
uses: actions/setup-python@v5
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Install project
run: |
python setup.py develop
pip install .
- name: Install graphviz
uses: kamiazya/setup-graphviz@v1
- name: Install doc building tools
Expand Down
4 changes: 3 additions & 1 deletion pyclibrary/thirdparty/find_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import os
import sys

__all__ = ("find_library",)

# On Linux, find Library returns the name not the path.
# This excerpt provides a modified find_library.
# noinspection PyUnresolvedReferences
Expand Down Expand Up @@ -59,4 +61,4 @@ def _find_library(name):

find_library = define_find_libary()
else:
pass
from ctypes.util import find_library
39 changes: 0 additions & 39 deletions pyclibrary/version.py

This file was deleted.

0 comments on commit 0906eb4

Please sign in to comment.