Skip to content

Commit

Permalink
Merge pull request #29 from AMYPAD/devel
Browse files Browse the repository at this point in the history
misc framework updates
  • Loading branch information
casperdcl authored Mar 15, 2023
2 parents 724f6bf + 290f913 commit 404c5d9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: set PYSHA
run: echo "PYSHA=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v3
Expand Down Expand Up @@ -43,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.7, '3.10']
python: [3.7, 3.11]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -53,6 +55,7 @@ jobs:
python-version: ${{ matrix.python }}
- run: pip install -U -e .[dev]
env:
# https://github.com/scikit-build/scikit-build/issues/740
SETUPTOOLS_ENABLE_FEATURES: legacy-editable
- run: pytest
- uses: codecov/codecov-action@v3
Expand All @@ -70,7 +73,7 @@ jobs:
runs-on: [self-hosted, cuda, python]
strategy:
matrix:
python: [3.7, '3.10']
python: [3.7, 3.11]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -79,6 +82,7 @@ jobs:
run: setup-python -p${{ matrix.python }} cupy
- run: pip install -U -e .[dev]
env:
# https://github.com/scikit-build/scikit-build/issues/740
SETUPTOOLS_ENABLE_FEATURES: legacy-editable
- run: pytest
- uses: codecov/codecov-action@v3
Expand All @@ -103,6 +107,8 @@ jobs:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN || github.token }}
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- id: dist
uses: casperdcl/deploy-pypi@v2
with:
Expand All @@ -117,7 +123,7 @@ jobs:
tag="${GITHUB_REF#refs/tags/}"
gh release create --title "CuVec $tag stable" --draft --notes "$changelog" "$tag" dist/${{ steps.dist.outputs.targz }}
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ github.token }}
- name: Docs
run: |
pushd docs
Expand Down
2 changes: 1 addition & 1 deletion docs/pydoc-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ renderer:
repo_name: AMYPAD/CuVec
repo_url: https://github.com/AMYPAD/CuVec
copyright: |
&copy; Casper da Costa-Luis <a href="https://github.com/casperdcl">@casperdcl</a> 2021
&copy; Casper da Costa-Luis <a href="https://github.com/casperdcl">@casperdcl</a>
extra_javascript: [js/extra.js]
extra_css: [css/extra.css]

Expand Down
5 changes: 3 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name=cuvec
description=Unifying Python/C++/CUDA memory: Python buffered array -> C++11 `std::vector` -> CUDA managed memory
long_description=file: README.rst
long_description_content_type=text/x-rst
license=MPL 2.0
license_file=LICENCE
license=MPL-2.0
license_files=LICENCE
url=https://github.com/AMYPAD/CuVec
project_urls=
Changelog=https://github.com/AMYPAD/CuVec/releases
Expand All @@ -29,6 +29,7 @@ classifiers=
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3 :: Only
Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
Expand Down

0 comments on commit 404c5d9

Please sign in to comment.