Skip to content

Commit

Permalink
fix tests & add another install option and bump to 1.17-beta1 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack60612 authored Mar 30, 2023
1 parent 3d45036 commit 69f2dcd
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install/install.ps1
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pip install --upgrade pip wheel
pip install ".[dev]"
pip install .[dev,release]
2 changes: 1 addition & 1 deletion .github/actions/install/install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
pip install --upgrade pip wheel
pip install ."[dev]"
pip install ."[dev,release]"
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install build tools (pep517 compatible)
run: >-
python -m
pip install .[release]
pip install ."[dev,release]"
build
--user
- name: Build a binary wheel and a source tarball
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ jobs:
run: |
python3 -m venv venv
. ./venv/bin/activate
pip install .[release]
pip install ."[dev,release]"
./venv/bin/chia init
./venv/bin/py.test tests/ cdv/examples/tests -s -v --durations 0
- name: Test code with pytest
if: runner.os == 'Windows'
shell: powershell
run: |
pip install .[release]
pip install .[dev,release]
chia init
py.test tests\ cdv\examples\tests -s -v --durations 0
2 changes: 1 addition & 1 deletion .github/workflows/test-blockchain-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ jobs:
run: |
python3 -m venv venv
. ./venv/bin/activate
pip install .[dev]
pip install ."[dev,main]"
./venv/bin/chia init
./venv/bin/py.test tests/ cdv/examples/tests -s -v --durations 0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ py -m venv venv
# To install using the latest release of chia-blockchain
pip install .[release]
# To install using the 'main' branch of chia-blockchain
pip install .[dev]
pip install .[main]
```

What's in it?
Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
"chia-blockchain==1.7.1",
]

main_dependencies = [
"chia-blockchain @ git+https://github.com/Chia-Network/chia-blockchain.git@main",
]

dev_dependencies = [
"anyio",
"chia-blockchain @ git+https://github.com/Chia-Network/chia-blockchain.git@main",
"flake8",
"mypy",
"types-aiofiles",
Expand All @@ -36,7 +39,7 @@

setup(
name="chia_dev_tools",
version="1.1.6",
version="1.1.7-b1",
packages=find_packages(exclude=("tests",)),
author="Quexington",
entry_points={
Expand All @@ -63,6 +66,7 @@
extras_require=dict(
release=release_dependencies,
dev=dev_dependencies,
main=main_dependencies,
),
project_urls={
"Bug Reports": "https://github.com/Chia-Network/chia-dev-tools",
Expand Down

0 comments on commit 69f2dcd

Please sign in to comment.