From 62134152d161c6778a98a34890537a0187ffcc9c Mon Sep 17 00:00:00 2001 From: pewssh Date: Wed, 25 Sep 2024 16:54:17 +0545 Subject: [PATCH] reset formatting for yaml --- .github/workflows/ci.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69dd6a491..7a044a2cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,32 +5,32 @@ concurrency: cancel-in-progress: true on: push: - branches: [master, staging, sprint*] + branches: [ master, staging, sprint* ] pull_request: workflow_dispatch: inputs: repo_snapshots_branch: - description: "branch of repo-snapshots to derive images and branches from." - default: "current-sprint" + description: 'branch of repo-snapshots to derive images and branches from.' + default: 'current-sprint' required: true existing_network: - description: "(OPTIONAL): *EXISTING NETWORK* to run system tests against *INSTEAD OF* deploying a new network. [example: dev.0chain.net]" - default: "" + description: '(OPTIONAL): *EXISTING NETWORK* to run system tests against *INSTEAD OF* deploying a new network. [example: dev.0chain.net]' + default: '' required: false test_file_filter: - description: "Comma separated list of test files to run (eg. zwalletcli_send_and_balance_test.go). If supplied, the PR will NOT be notified of the test result" - default: "" + description: 'Comma separated list of test files to run (eg. zwalletcli_send_and_balance_test.go). If supplied, the PR will NOT be notified of the test result' + default: '' required: false run_smoke_tests: - description: "Only run smoke tests (subset of system tests for fast feedback)" - default: "false" + description: 'Only run smoke tests (subset of system tests for fast feedback)' + default: 'false' required: false jobs: golangci: # if: github.event_name == 'push' name: "lint" - runs-on: [arc-runner] + runs-on: [ arc-runner ] steps: - name: Install Packages run: | @@ -38,7 +38,7 @@ jobs: sudo apt-get -y install build-essential nghttp2 libnghttp2-dev libssl-dev - uses: actions/setup-go@v3 with: - go-version: "1.21" + go-version: '1.21' - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3 @@ -50,7 +50,7 @@ jobs: system-tests: name: "System Tests" - runs-on: [tests-suite] + runs-on: [ tests-suite ] timeout-minutes: 360 steps: - name: "Get current PR" @@ -94,11 +94,11 @@ jobs: echo RUN_SMOKE_TESTS=false >> $GITHUB_ENV fi - - name: "Setup jq" + - name: 'Setup jq' uses: dcarbone/install-jq-action@v2.1.0 with: - version: "1.7" - force: "false" + version: '1.7' + force: 'false' - name: "Create Tenderly virtual testnet" run: | @@ -137,7 +137,7 @@ jobs: deploy_report_page: true archive_results: true run_flaky_tests: true - run_api_system_tests: false + run_api_system_tests: true run_cli_system_tests: true run_tokenomics_system_tests: false test_file_filter: ${{ env.TEST_FILE_FILTER }} @@ -171,7 +171,7 @@ jobs: set-build-conclusion: name: "Set build conclusion" if: ${{ always() && github.ref == 'refs/heads/master' && github.event_name != 'workflow_dispatch' }} - needs: [golangci, system-tests] + needs: [ golangci, system-tests ] runs-on: self-hosted steps: - uses: technote-space/workflow-conclusion-action@v3 @@ -184,7 +184,7 @@ jobs: uses: Sibz/github-status-action@v1 with: authToken: ${{secrets.SVC_ACCOUNT_SECRET}} - context: "0Chain System Tests CI" + context: '0Chain System Tests CI' description: "Build status: ${{ env.WORKFLOW_CONCLUSION }}" state: ${{ env.WORKFLOW_CONCLUSION }} sha: ${{github.event.pull_request.head.sha || github.sha}}