Skip to content

add github action#1

Open
dakimura wants to merge 23 commits into
mainfrom
ci/test
Open

add github action#1
dakimura wants to merge 23 commits into
mainfrom
ci/test

Conversation

@dakimura
Copy link
Copy Markdown
Owner

No description provided.

Comment thread README.md Outdated
@@ -1,4 +1,5 @@
# jquants-api-client
[![PyPI version](https://badge.fury.io/py/jquants-api-client-python.svg)](https://badge.fury.io/py/jquants-api-client-python)
Copy link
Copy Markdown

@hiohiohio hiohiohio Jul 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ライブラリ名変わってしまいすみません!

markdownlint の MD022 に従って、1行入れています。
https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md022---headings-should-be-surrounded-by-blank-lines

Suggested change
[![PyPI version](https://badge.fury.io/py/jquants-api-client-python.svg)](https://badge.fury.io/py/jquants-api-client-python)
[![PyPI version](https://badge.fury.io/py/jquants-api-client.svg)](https://badge.fury.io/py/jquants-api-client)

Comment thread .github/workflows/test.yml Outdated
fail-fast: true
matrix:
os: [ "ubuntu-latest" ]
python-version: [ "3.7", "3.8", "3.9", "3.10" ]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3.11 のベータ版がでているので、念の為にテストスコープに入れておきたいです!

Suggested change
python-version: [ "3.7", "3.8", "3.9", "3.10" ]
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11-dev" ]

Comment thread .github/workflows/test.yml Outdated
Comment on lines +91 to +92
pytest tests/
coverage report
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pytest-cov を使っても良いのかなとおもいました!

https://pytest-cov.readthedocs.io/en/latest/readme.html#usage

Suggested change
pytest tests/
coverage report
poetry run pytest --cov=./jquants-api-client-python --cov-report=xml tests/

Comment thread pyproject.toml Outdated
dakimura and others added 6 commits July 31, 2022 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants