mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-28 10:05:05 -05:00
51 lines
1.0 KiB
YAML
51 lines
1.0 KiB
YAML
name: Test Install Scripts
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
tags:
|
|
- '**'
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
|
|
jobs:
|
|
test_scripts:
|
|
name: Test Install Scripts
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
max-parallel: 4
|
|
matrix:
|
|
python-version: [3.9]
|
|
os: [macOS-latest, ubuntu-latest]
|
|
|
|
steps:
|
|
- name: Cancel previous runs on the same branch
|
|
if: ${{ github.ref != 'refs/heads/main' }}
|
|
uses: styfle/cancel-workflow-action@0.9.1
|
|
with:
|
|
access_token: ${{ github.token }}
|
|
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Python environment
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Run install script
|
|
env:
|
|
INSTALL_PYTHON_VERSION: ${{ matrix.python-version }}
|
|
BUILD_VDF_CLIENT: "N"
|
|
run: sh install.sh
|
|
|
|
- name: Run install-gui script
|
|
run: |
|
|
. ./activate
|
|
sh install-gui.sh
|