Skip to content

Commit

Permalink
Merge pull request crypto-org-chain#34 from macong-cdc/test-env
Browse files Browse the repository at this point in the history
Problem: missing test environment
  • Loading branch information
linfeng-crypto authored Jan 25, 2022
2 parents 0abd982 + 6ce5af6 commit 06b3988
Show file tree
Hide file tree
Showing 12 changed files with 902 additions and 316 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
tox_env: [py37, py38, py39]
tox_env: [py38, py39]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,7 @@ venv.bak/
tester.py

# vscode
.vscode/
.vscode/

# crypto.org chain binary
chain-maind
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

This log documents all public API breaking backwards incompatible changes.

## 2.2.0
## 2.2.0 - to be released

[#25](https://github.com/crypto-org-chain/chainlibpy/issues/25) Add mainnet and testnet-croeseid-4 network configurations
[#32](https://github.com/crypto-org-chain/chainlibpy/issues/32) Add test environment\
Require Python >= 3.8\
[#25](https://github.com/crypto-org-chain/chainlibpy/issues/25) Add mainnet and testnet-croeseid-4 network configurations\
[#24](https://github.com/crypto-org-chain/chainlibpy/pull/24) Fix unable to use secure gRPC channel to interact with chain

*Dec 7, 2021*
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ $COSMOS_SDK_DIR/proto/cosmos/auth/v1beta1/auth.proto
### Tox<a name="tox"></a>
```
pyenv local 3.7.a 3.8.b 3.9.c
pyenv local 3.8.a 3.9.b
```
`a`, `b` and `c` is python versions installed on your computer by `pyenv`. More about [pyenv](https://github.com/pyenv/pyenv).
`a` and `b` are python versions installed on your computer by `pyenv`. More about [pyenv](https://github.com/pyenv/pyenv).
After this command, a `.python-version` file will be generated at project root directory, which means python versions inside `.python-version` are presented for this project. So running `tox` command with `py{37,38,39}` configuration should succeed.\
Then run to verify. This command is recommended to run before pushing a commit.
After this command, a `.python-version` file will be generated at project root directory, which means python versions inside `.python-version` are presented for this project. So running `tox` command with `py{38,39}` configuration should succeed.\
Then run to verify. Command below is recommended to run before pushing a commit.
```sh
poetry run tox
Expand Down
Loading

0 comments on commit 06b3988

Please sign in to comment.