Compare commits

...

7 Commits

Author SHA1 Message Date
Kyle Altendorf f91261db65
Merge branch 'main' into test_single_bash 2023-06-30 15:36:23 -04:00
Kyle Altendorf e6f79fca10
Update test-single.yml 2023-06-15 12:08:29 -04:00
Kyle Altendorf a0f4579692
Update test-single.yml 2023-06-15 12:05:09 -04:00
Kyle Altendorf 3fa9b9f2d1
Update test-single.yml 2023-06-15 11:58:24 -04:00
Kyle Altendorf f2130db777
env.GITHUB_WORKSPACE 2023-06-15 11:52:59 -04:00
Kyle Altendorf ed21e93a2a
try removing windows specific steps 2023-06-15 11:44:45 -04:00
Kyle Altendorf 58947e19a0
test-single.yml: defaults: run: shell: bash 2023-06-15 11:40:41 -04:00
1 changed files with 8 additions and 14 deletions

View File

@ -39,6 +39,10 @@ concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ inputs.concurrency_name }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
test:
name: ${{ matrix.os.emoji }} ${{ matrix.configuration.name }} - ${{ matrix.python.name }}
@ -192,24 +196,14 @@ jobs:
${{ github.workspace }}/.chia/test-plots
key: ${{ env.BLOCKS_AND_PLOTS_VERSION }}
- name: Checkout test blocks and plots (macOS, Ubuntu)
if: matrix.configuration.checkout_blocks_and_plots && steps.test-blocks-plots.outputs.cache-hit != 'true' && (matrix.os.matrix == 'ubuntu' || matrix.os.matrix == 'macos')
- name: Checkout test blocks and plots
if: matrix.configuration.checkout_blocks_and_plots && steps.test-blocks-plots.outputs.cache-hit != 'true'
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 -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-${{ env.BLOCKS_AND_PLOTS_VERSION }}/* ${{ github.workspace }}/.chia
- name: Checkout test blocks and plots (Windows)
if: matrix.configuration.checkout_blocks_and_plots && steps.test-blocks-plots.outputs.cache-hit != 'true' && matrix.os.matrix == 'windows'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release download -R Chia-Network/test-cache ${{ env.BLOCKS_AND_PLOTS_VERSION }} --archive=zip -O blocks_and_plots.zip
Expand-Archive blocks_and_plots.zip -DestinationPath .
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-${{ env.BLOCKS_AND_PLOTS_VERSION }}/* ${{ github.workspace }}/.chia
mkdir "${GITHUB_WORKSPACE}/.chia"
mv "${GITHUB_WORKSPACE}/test-cache-${{ env.BLOCKS_AND_PLOTS_VERSION }}/"* "${GITHUB_WORKSPACE}/.chia"
- name: Install boost (macOS)
if: matrix.os.matrix == 'macos'