Skip to content

Commit

Permalink
TEMP: pull test blocks from draft PR
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Sep 5, 2023
1 parent c38be96 commit fd0051d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
python-version: [ 3.9 ]
env:
CHIA_ROOT: ${{ github.workspace }}/.chia/mainnet
BLOCKS_AND_PLOTS_VERSION: 0.30.0
BLOCKS_AND_PLOTS_VERSION: add-hardfork-test-blocks

steps:
- name: Clean workspace
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test-single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
CHIA_ROOT: ${{ github.workspace }}/.chia/mainnet
CHIA_SIMULATOR_ROOT: ${{ github.workspace }}/.chia/simulator
JOB_FILE_NAME: tests_${{ matrix.os.file_name }}_python-${{ matrix.python.file_name }}_${{ matrix.configuration.name }}
BLOCKS_AND_PLOTS_VERSION: 0.30.0
BLOCKS_AND_PLOTS_VERSION: temp

steps:
- name: Configure git
Expand Down Expand Up @@ -189,9 +189,11 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release download -R Chia-Network/test-cache ${{ env.BLOCKS_AND_PLOTS_VERSION }} --archive=tar.gz -O - | tar xzf -
gh repo clone Chia-Network/test-cache -- --branch add-hardfork-test-blocks --depth=1
#gh release download -R Chia-Network/test-cache ${{ env.BLOCKS_AND_PLOTS_VERSION }} --archive=tar.gz -O - | tar xzf -
mkdir "${GITHUB_WORKSPACE}/.chia"
mv "${GITHUB_WORKSPACE}/test-cache-${{ env.BLOCKS_AND_PLOTS_VERSION }}/"* "${GITHUB_WORKSPACE}/.chia"
#mv "${GITHUB_WORKSPACE}/test-cache-${{ env.BLOCKS_AND_PLOTS_VERSION }}/"* "${GITHUB_WORKSPACE}/.chia"
mv "${GITHUB_WORKSPACE}/test-cache/"* "${GITHUB_WORKSPACE}/.chia"
- name: Install boost (macOS)
if: matrix.os.matrix == 'macos'
Expand Down

0 comments on commit fd0051d

Please sign in to comment.