Skip to content

Commit

Permalink
Updated workflows and metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Zoppi <[email protected]>
  • Loading branch information
TexZK committed Oct 5, 2024
1 parent 56373d0 commit 7b4369c
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 25 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- rc

pull_request:

Expand All @@ -20,19 +21,17 @@ jobs:
- windows-latest

python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- pypy-3.10
- pypy3.10

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

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -43,16 +42,19 @@ jobs:
run: tox

- name: Upload coverage
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11' }}
uses: actions/upload-artifact@v3
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.12' }}
uses: actions/upload-artifact@v4
with:
name: bytesparse-coverage
path: coverage.xml
if-no-files-found: error

- name: Upload to codecov
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11' }}
uses: codecov/codecov-action@v3
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.12' }}
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: coverage.xml
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
10 changes: 5 additions & 5 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- rc

pull_request:

Expand All @@ -17,17 +18,16 @@ jobs:
max-parallel: 4
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'

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

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -41,7 +41,7 @@ jobs:
run: twine check dist/*

- name: Upload dist folder
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bytesparse-dist-py${{ matrix.python-version }}
path: dist
Expand Down
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dist
build
eggs
.eggs
env
*env
parts
bin
var
Expand All @@ -20,8 +20,6 @@ develop-eggs
.installed.cfg
lib
lib64
venv*/
pyvenv*/
tmp*

# Installer logs
Expand All @@ -48,6 +46,7 @@ tests/*.html
.idea
*.iml
*.komodoproject
.vscode

# Complexity
output/*.html
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

1.0.1 (2024-10-05)
------------------

* Minor workflow and metadata updates.


1.0.0 (2024-03-07)
------------------

Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ include README.rst
include requirements.txt
include pyproject.toml
include setup.cfg
include setup.py
include tox.ini

exclude build
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Overview

.. |codecov| image:: https://codecov.io/gh/TexZK/bytesparse/branch/main/graphs/badge.svg?branch=main
:alt: Coverage Status
:target: https://codecov.io/github/TexZK/bytesparse
:target: https://app.codecov.io/github/TexZK/bytesparse

.. |version| image:: https://img.shields.io/pypi/v/bytesparse.svg
:alt: PyPI Package latest release
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ classifiers = [
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.10", # adds: typing.TypeAlias
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
Expand Down
2 changes: 1 addition & 1 deletion src/bytesparse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"""

__version__ = '1.0.0'
__version__ = '1.0.1'

from .inplace import Memory
from .inplace import bytesparse
Expand Down
8 changes: 3 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,8 @@ skip_install = true
; Settings for GitHub Actions.
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: {py311,clean,check,report,docs,spell}
3.12: py312
pypy-3.9: pypy3
3.11: py311
3.12: {py312,clean,check,report,docs,spell}
pypy-3.10: pypy3

0 comments on commit 7b4369c

Please sign in to comment.