Skip to content

Commit

Permalink
Install .[dev] in CI tests (Chia-Network#9251)
Browse files Browse the repository at this point in the history
* Install .[dev] in CI tests

* only install pytest-monitor on linux, as before

* add -d to install.sh for dev extras

* handle invalid options to install.sh

* rebuild workflows
  • Loading branch information
altendky authored Nov 23, 2021
1 parent 1073f9d commit fbc6c73
Show file tree
Hide file tree
Showing 52 changed files with 82 additions and 301 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-blockchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test blockchain code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-clvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,10 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
# Omitted installing Timelord

- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test clvm code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-core-consensus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test core-consensus code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-core-custom_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test core-custom_types code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-core-daemon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test core-daemon code with pytest
run: |
. ./activate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test core-full_node-full_sync code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-core-full_node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test core-full_node code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-core-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test core-server code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-core-ssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test core-ssl code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-core-util.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test core-util code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test core code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test generator code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-plotting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,10 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
# Omitted installing Timelord

- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test plotting code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-pools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test pools code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-simulation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test simulation code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-util.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test util code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-wallet-cc_wallet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test wallet-cc_wallet code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-wallet-did_wallet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test wallet-did_wallet code with pytest
run: |
. ./activate
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/build-test-macos-wallet-rl_wallet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,14 @@ jobs:
BUILD_VDF_CLIENT: "N"
run: |
brew install boost
sh install.sh
sh install.sh -d
- name: Install timelord
run: |
. ./activate
sh install-timelord.sh
./vdf_bench square_asm 400000
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
- name: Test wallet-rl_wallet code with pytest
run: |
. ./activate
Expand Down
Loading

0 comments on commit fbc6c73

Please sign in to comment.