Skip to content

Commit

Permalink
Add resource usage check to generated template. Add warning to genera…
Browse files Browse the repository at this point in the history
…ted workflows. (Chia-Network#7181)

* Add resource usage check to generated template. Add warning to generated workflows

* Revert submodule commit
  • Loading branch information
aqk authored Jul 13, 2021
1 parent 2bdc23c commit cb0c811
Show file tree
Hide file tree
Showing 43 changed files with 310 additions and 19 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-blockchain.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS blockchain Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/blockchain/test_blockchain.py tests/blockchain/test_blockchain_transactions.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-clvm.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS clvm Tests

on:
Expand Down Expand Up @@ -81,3 +84,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/clvm/test_chialisp_deserialization.py tests/clvm/test_clvm_compilation.py tests/clvm/test_puzzles.py tests/clvm/test_serialized_program.py tests/clvm/test_singletons.py -s -v --durations 0 -n auto
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-core-consensus.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS core-consensus Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/core/consensus/test_pot_iterations.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-core-daemon.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS core-daemon Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/core/daemon/test_daemon.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS core-full_node-full_sync Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/core/full_node/full_sync/test_full_sync.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-core-full_node.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS core-full_node Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/core/full_node/test_address_manager.py tests/core/full_node/test_block_store.py tests/core/full_node/test_coin_store.py tests/core/full_node/test_conditions.py tests/core/full_node/test_full_node.py tests/core/full_node/test_full_node_store.py tests/core/full_node/test_initial_freeze.py tests/core/full_node/test_mempool.py tests/core/full_node/test_mempool_performance.py tests/core/full_node/test_node_load.py tests/core/full_node/test_performance.py tests/core/full_node/test_sync_store.py tests/core/full_node/test_transactions.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-core-server.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS core-server Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/core/server/test_dos.py tests/core/server/test_rate_limits.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-core-ssl.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS core-ssl Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/core/ssl/test_ssl.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-core-types.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS core-types Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/core/types/test_coin.py tests/core/types/test_proof_of_space.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-core-util.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS core-util Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/core/util/test_keychain.py tests/core/util/test_lru_cache.py tests/core/util/test_significant_bits.py tests/core/util/test_streamable.py tests/core/util/test_type_checking.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-core.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS core Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/core/test_cost_calculation.py tests/core/test_farmer_harvester_rpc.py tests/core/test_filter.py tests/core/test_full_node_rpc.py tests/core/test_merkle_set.py tests/core/test_setproctitle.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-generator.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS generator Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/generator/test_compression.py tests/generator/test_generator_types.py tests/generator/test_rom.py tests/generator/test_scan.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-pools.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS pools Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/pools/test_pool_config.py tests/pools/test_pool_puzzles_lifecycle.py tests/pools/test_pool_rpc.py tests/pools/test_pool_wallet.py tests/pools/test_wallet_pool_store.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-simulation.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS simulation Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/simulation/test_simulation.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-wallet-cc_wallet.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS wallet-cc_wallet Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/wallet/cc_wallet/test_cc_wallet.py tests/wallet/cc_wallet/test_trades.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-wallet-rl_wallet.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS wallet-rl_wallet Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/wallet/rl_wallet/test_rl_rpc.py tests/wallet/rl_wallet/test_rl_wallet.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-wallet-rpc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS wallet-rpc Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/wallet/rpc/test_wallet_rpc.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-wallet-sync.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS wallet-sync Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/wallet/sync/test_wallet_sync.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
6 changes: 6 additions & 0 deletions .github/workflows/build-test-macos-wallet.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: MacOS wallet Tests

on:
Expand Down Expand Up @@ -91,3 +94,6 @@ jobs:
run: |
. ./activate
./venv/bin/py.test tests/wallet/test_backup.py tests/wallet/test_bech32m.py tests/wallet/test_chialisp.py tests/wallet/test_puzzle_store.py tests/wallet/test_singleton.py tests/wallet/test_singleton_lifecycle.py tests/wallet/test_singleton_lifecycle_fast.py tests/wallet/test_taproot.py tests/wallet/test_wallet.py tests/wallet/test_wallet_interested_store.py tests/wallet/test_wallet_store.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
10 changes: 9 additions & 1 deletion .github/workflows/build-test-ubuntu-blockchain.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: Ubuntu blockchain Test

on:
Expand Down Expand Up @@ -97,9 +100,14 @@ jobs:
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist pytest-monitor
- name: Test blockchain code with pytest
run: |
. ./activate
./venv/bin/py.test tests/blockchain/test_blockchain.py tests/blockchain/test_blockchain_transactions.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
10 changes: 9 additions & 1 deletion .github/workflows/build-test-ubuntu-clvm.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: Ubuntu clvm Test

on:
Expand Down Expand Up @@ -87,9 +90,14 @@ jobs:
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist pytest-monitor
- name: Test clvm code with pytest
run: |
. ./activate
./venv/bin/py.test tests/clvm/test_chialisp_deserialization.py tests/clvm/test_clvm_compilation.py tests/clvm/test_puzzles.py tests/clvm/test_serialized_program.py tests/clvm/test_singletons.py -s -v --durations 0 -n auto
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
10 changes: 9 additions & 1 deletion .github/workflows/build-test-ubuntu-core-consensus.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: Ubuntu core-consensus Test

on:
Expand Down Expand Up @@ -97,9 +100,14 @@ jobs:
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist pytest-monitor
- name: Test core-consensus code with pytest
run: |
. ./activate
./venv/bin/py.test tests/core/consensus/test_pot_iterations.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
10 changes: 9 additions & 1 deletion .github/workflows/build-test-ubuntu-core-daemon.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: Ubuntu core-daemon Test

on:
Expand Down Expand Up @@ -97,9 +100,14 @@ jobs:
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist pytest-monitor
- name: Test core-daemon code with pytest
run: |
. ./activate
./venv/bin/py.test tests/core/daemon/test_daemon.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
name: Ubuntu core-full_node-full_sync Test

on:
Expand Down Expand Up @@ -97,9 +100,14 @@ jobs:
- name: Install developer requirements
run: |
. ./activate
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist
venv/bin/python -m pip install pytest pytest-asyncio pytest-xdist pytest-monitor
- name: Test core-full_node-full_sync code with pytest
run: |
. ./activate
./venv/bin/py.test tests/core/full_node/full_sync/test_full_sync.py -s -v --durations 0
#
# THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme
#
Loading

0 comments on commit cb0c811

Please sign in to comment.