Move dev dependencies from GHA to pyproject.toml
This commit is contained in:
parent
2f06ee433c
commit
c320d4248b
@ -28,18 +28,14 @@ jobs:
|
||||
with:
|
||||
python-version: '3.8.x'
|
||||
|
||||
- name: Install test dependencies
|
||||
- name: Install tja2fumen and its dev dependencies
|
||||
run: |
|
||||
pip install pytest
|
||||
pip install -e .
|
||||
pip install .[dev]
|
||||
|
||||
- name: Run tests (Python API)
|
||||
run: |
|
||||
pytest testing --entry-point python-api
|
||||
|
||||
- name: Install build dependencies
|
||||
run: pip install toml-cli build twine pyinstaller
|
||||
|
||||
# The GitHub Actions bot email was taken from: https://github.community/t/github-actions-bot-email-address/17204/6
|
||||
- name: Set bot user data for commits
|
||||
# Only set git user data if workflow is run manually. (This allows the other steps in the workflow to test PRs.)
|
||||
|
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "tja2fumen"
|
||||
version = "0.0.1"
|
||||
version = "0.0.dev0"
|
||||
description = "Convert TJA chart files into fumen (.bin) chart files"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.8"
|
||||
@ -18,7 +18,7 @@ keywords = ["taiko", "tatsujin", "fumen", "TJA"]
|
||||
tja2fumen = "tja2fumen:main"
|
||||
|
||||
[project.optional-dependencies]
|
||||
build = ["pyinstaller"]
|
||||
dev = ["pytest", "build", "pyinstaller", "twine", "toml-cli"]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
|
Loading…
Reference in New Issue
Block a user