Skip to content

Commit

Permalink
return to working configuration filkes
Browse files Browse the repository at this point in the history
  • Loading branch information
SpectraL519 committed Sep 4, 2024
1 parent b606531 commit 711ea0a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 14 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
branches:
- '*'
paths:
- .github/workflows/examples.yaml
- src/**
- examples/**
- pyproject.toml
Expand All @@ -27,13 +26,16 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: python -m pip install build
run: |
python -m pip install build
- name: Build the library for ${{ matrix.python-version }}
run: python -m build
run: |
python -m build
- name: Install library
run: python -m pip install dist/pyconstclasses-*-py3-none-any.whl --force-reinstall
run: |
python -m pip install dist/pyconstclasses-*-py3-none-any.whl --force-reinstall
- name: Run the example programs
run: |
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
branches:
- '*'
paths:
- .github/workflows/format.yaml
- src/**
- test/**
- examples/**
Expand All @@ -25,10 +24,13 @@ jobs:
python-version: "3.12"

- name: Install dependencies
run: python -m pip install black isort
run: |
python -m pip install black isort
- name: Run format check
run: python -m black . --check
run: |
python -m black . --check
- name: Run import check
run: python -m isort . --check
run: |
python -m isort . --check
10 changes: 6 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
branches:
- '*'
paths:
- .github/workflows/tests.yaml
- src/**
- test/**
- tox.ini
Expand All @@ -28,10 +27,12 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: python -m pip install tox tox-gh-actions
run: |
python -m pip install tox tox-gh-actions
- name: Run tox for ${{ matrix.python-version }}
run: python -m tox
run: |
python -m tox
- name: Upload coverage data
uses: actions/upload-artifact@v4
Expand All @@ -53,7 +54,8 @@ jobs:
python-version: 3.12

- name: Install dependencies
run: python -m pip install tox tox-gh-actions
run: |
python -m pip install tox tox-gh-actions
- name: Download coverage data
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pyconstclasses"
version = "1.0.4"
version = "1.0"
description = "Package with const class decoratos and utility"
authors = [
{name = "SpectraL519"}
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ skip_missing_interpreters = True
deps =
pytest
pytest-cov
coverage
coverage[toml]
commands =
python -m coverage run -p -m pytest {posargs}

Expand Down

0 comments on commit 711ea0a

Please sign in to comment.