Skip to content

instead of depending on test cases from clvm and clvm_tools #177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 3 additions & 27 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,35 +112,10 @@ jobs:
python -m pip install pytest
python -m pip install blspy

- name: install clvm & clvm_tools
- name: Ensure clvm_rs is installed
run: |
. ./activate
git clone https://github.com/Chia-Network/clvm.git --branch=main --single-branch
python -m pip install ./clvm

git clone https://github.com/Chia-Network/clvm_tools.git --branch=main --single-branch
python -m pip install ./clvm_tools

- name: Ensure clvm, clvm_rs, clvm_tools are installed
run: |
. ./activate
python -c 'import clvm'
python -c 'import clvm; print(clvm.__file__)'
python -c 'import clvm_rs; print(clvm_rs.__file__)'
python -c 'import clvm_tools; print(clvm_tools.__file__)'

- name: Run tests from clvm
run: |
. ./activate
cd clvm
python -m py.test tests

- name: Run tests from clvm_tools
continue-on-error: true
run: |
. ./activate
cd clvm_tools
python -m py.test tests

- name: Upload artifacts
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -225,7 +200,8 @@ jobs:
run: cargo +nightly fuzz build

unit_tests:
runs-on: ubuntu-20.04
name: Wheel on ${{ matrix.os }} py-${{ matrix.python }}
runs-on: ${{ matrix.os }}
name: Unit tests
steps:
- uses: actions/checkout@v2
Expand Down