Skip to content

#132: Updated GitHub workflows to request manual confirmation for running slow tests #1

#132: Updated GitHub workflows to request manual confirmation for running slow tests

#132: Updated GitHub workflows to request manual confirmation for running slow tests #1

Workflow file for this run

name: CI
on:
pull_request:
jobs:
ci-job:
name: Fast Tests
strategy:
fail-fast: false
matrix:
python-version: [ "3.10" ]
runs-on: ubuntu-20.04
environment: aws
uses: ./.github/workflows/build.yaml

Check failure on line 16 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 16, Col: 5): Unexpected value 'uses' .github/workflows/ci.yml (Line: 17, Col: 5): Unexpected value 'secrets'
secrets: inherit
with:
python-version: ${{ matrix.python-version }}
slow-tests: false
gate-1:
name: Gate 1 - Regular CI
needs: [ ci-job ]
runs-on: ubuntu-latest
steps:
- name: Branch Protection
run: true
slow-test-detection:
name: Run Slow or Expensive Tests?
runs-on: ubuntu-latest
steps:
- name: Detect Slow Tests
run: true
environment:
slow-tests
run-slow-tests:
name: Run Slow or Expensive Tests if Requested
uses: ./.github/workflows/build.yaml
needs: [ slow-test-detection ]
secrets: inherit
with:
slow-tests: true
python-version: "3.10"
gate-2:
name: Gate 2 - Allow Merge
runs-on: ubuntu-latest
needs: [ run-slow-tests ]
steps:
- name: Branch Protection
run: true