Skip to content

Commit

Permalink
Release 2.0.0 (#55)
Browse files Browse the repository at this point in the history
Co-authored-by: Jesse De Loore <[email protected]>
  • Loading branch information
Colin-b and JesseDeLoore committed Jun 14, 2024
1 parent aa69a52 commit cb5b0ee
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,17 @@ on:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[testing]
- name: Test with pytest
run: |
pytest --cov=keepachangelog --cov-fail-under=100 --cov-report=term-missing
python-version: '3.12'
- name: Create packages
run: |
python -m pip install wheel
python setup.py sdist bdist_wheel
python -m pip install build
python -m build .
- name: Publish packages
run: |
python -m pip install twine
Expand Down
18 changes: 17 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,20 @@ jobs:
python -m pip install .[testing]
- name: Test with pytest
run: |
pytest --cov=keepachangelog --cov-fail-under=100 --cov-report=term-missing
pytest --cov=keepachangelog --cov-fail-under=100 --cov-report=term-missing
- name: Create packages
run: |
python -m pip install build
python -m build .
rm -Rf keepachangelog
- name: Install wheel
run: |
python -m pip install dist/keepachangelog-2.0.0-py3-none-any.whl --force-reinstall
python -c 'import keepachangelog'
- name: Install source distribution
run: |
python -m pip install dist/keepachangelog-2.0.0.tar.gz --force-reinstall
python -c 'import keepachangelog'
- name: Run executable
run: |
keepachangelog --version

0 comments on commit cb5b0ee

Please sign in to comment.