Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 759174c

Browse files
0.2.1 merge (#62)
* Downgrade38 (#59) * downgrade to support python3.8 * updated poetry version --------- Co-authored-by: Anil Natha <anilnatha@users.noreply.github.com> * Pytest (#57) * adding pytest coverage commands * remove unneeded python versions form testing * updated poetry version * updated coverate command * Update python-app.yml added coverall support * fixed poetry lock --------- Co-authored-by: Anil Natha <anilnatha@users.noreply.github.com> * version bump and release fix to use python 3.8 and correct poetry version (#61) Co-authored-by: Anil Natha <anilnatha@users.noreply.github.com> --------- Co-authored-by: Anil Natha <anilnatha@users.noreply.github.com>
1 parent d547b2d commit 759174c

File tree

5 files changed

+371
-207
lines changed

5 files changed

+371
-207
lines changed

.github/workflows/python-app.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
fail-fast: false
1616
max-parallel: 2
1717
matrix:
18-
python-version: [ "3.9", "3.10" ]
19-
poetry-version: [ "1.1.14" ]
18+
python-version: [ "3.8", "3.9", "3.10" ]
19+
poetry-version: [ "1.5.1" ]
2020
# os: [ ubuntu-18.04, macos-latest, windows-latest ]
2121
os: [ ubuntu-22.04, macos-latest ]
2222
runs-on: ${{ matrix.os }}
@@ -44,10 +44,12 @@ jobs:
4444
UNITY_USER: '${{ secrets.UNITY_TEST_USER }}'
4545
UNITY_PASSWORD: '${{ secrets.UNITY_TEST_PASSWORD }}'
4646
run: |
47-
poetry run pytest -m "not regression"
47+
poetry run pytest --cov=unity_sds_client -m "not regression"
4848
- name: Regression Test with pytest
4949
env:
5050
UNITY_USER: '${{ secrets.UNITY_TEST_USER }}'
5151
UNITY_PASSWORD: '${{ secrets.UNITY_TEST_PASSWORD }}'
5252
run: |
53-
poetry run pytest -o log_cli=true --log-cli-level=DEBUG -m "regression"
53+
poetry run pytest --cov=unity_sds_client -o log_cli=true --log-cli-level=DEBUG
54+
- name: Coveralls
55+
uses: coverallsapp/github-action@v2

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install Poetry
2121
uses: abatilo/actions-poetry@v2.0.0
2222
with:
23-
poetry-version: 1.1.14
23+
poetry-version: 1.5.1
2424
- name: Install dependencies
2525
run: |
2626
poetry install
@@ -43,7 +43,7 @@ jobs:
4343
strategy:
4444
fail-fast: false
4545
matrix:
46-
python-version: [ "3.7", "3.8", "3.9", "3.10" ]
46+
python-version: [ "3.8", "3.9", "3.10" ]
4747
os: [ ubuntu-22.04, macos-latest, windows-latest ]
4848
runs-on: ${{ matrix.os }}
4949
steps:

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
--------
99

10+
## [0.2.1] - 2023-11-29
11+
### Added
12+
* python code coverage via coveralls
13+
### Fixed
14+
### Changed
15+
* updated install to support python 3.8 and above.
16+
### Removed
17+
### Security
18+
### Deprecated
1019

1120

1221
## [0.2.0] - 2023-08-10

0 commit comments

Comments
 (0)