Skip to content

Commit

Permalink
MRG: Merge pull request #12 from AndreaBlengino/dev
Browse files Browse the repository at this point in the history
v0.7.2
  • Loading branch information
AndreaBlengino committed Apr 10, 2024
2 parents 3956a89 + 578c34a commit 74ab936
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 37 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/linux_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ jobs:
- name: Build package
run: |
python -m build
- name: Install build package
run: |
pip install .[test]
python -m build --wheel
- name: Package differences computation
run: |
Expand All @@ -43,6 +39,10 @@ jobs:
script: |
core.setFailed('Compiled package different from source package.')
- name: Install build package
run: |
pip install .[test]
- name: Fetch
uses: actions/checkout@master

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/macos_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ jobs:
- name: Build package
run: |
python -m build
- name: Install build package
run: |
pip install .[test]
python -m build --wheel
- name: Package differences computation
run: |
Expand All @@ -43,6 +39,10 @@ jobs:
script: |
core.setFailed('Compiled package different from source package.')
- name: Install build package
run: |
pip install .[test]
- name: Fetch
uses: actions/checkout@master

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
- name: Build package
run: |
python -m build
python -m build --sdist
python -m build --wheel
- name: Publish to PyPI
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/windows_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ jobs:
- name: Build package
run: |
python -m build
- name: Install build package
run: |
pip install .[test]
python -m build --wheel
- name: Package differences computation
run: |
Expand All @@ -43,6 +39,10 @@ jobs:
script: |
core.setFailed('Compiled package different from source package.')
- name: Install build package
run: |
pip install .[test]
- name: Fetch
uses: actions/checkout@master

Expand Down
3 changes: 1 addition & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ build:
python: "3.9"
jobs:
post_create_environment:
- pip install .
- pip install -r requirements/docs.txt
- pip install .[doc]

sphinx:
configuration: docs/source/conf.py
4 changes: 0 additions & 4 deletions requirements/common.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements/dev.txt

This file was deleted.

3 changes: 0 additions & 3 deletions requirements/docs.txt

This file was deleted.

5 changes: 0 additions & 5 deletions requirements/tests.txt

This file was deleted.

7 changes: 2 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@ envlist = py39,py310,py311,py312
skipsdist = True

[testenv]
deps =
-rrequirements/common.txt
-rrequirements/tests.txt

commands =
python -m pytest --verbose --cov=gearpy --cov-report=html -nauto
python -m pip install .[test]
python -m pytest --verbose --cov=gearpy --cov-report=html -nauto -m spur_gear

[pytest]
python_files = test_*
Expand Down

0 comments on commit 74ab936

Please sign in to comment.