Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,17 @@ concurrency:
permissions: read-all

jobs:
check-owner:
if: github.repository_owner == 'quantumlib'
name: 'Check that the repository owner is Quantumlib'
runs-on: ubuntu-slim
timeout-minutes: 5
steps:
- run: true

python-checks:
name: 'Python format & lint checks'
needs: check-owner
runs-on: ubuntu-slim
timeout-minutes: 20
steps:
Expand Down Expand Up @@ -92,6 +101,7 @@ jobs:

docker-lint:
name: Dockerfile lint checks
needs: check-owner
# ubuntu-slim runners don't have docker installed.
runs-on: ubuntu-24.04
timeout-minutes: 15
Expand All @@ -114,6 +124,7 @@ jobs:

shell-lint:
name: Shell script lint checks
needs: check-owner
runs-on: ubuntu-slim
timeout-minutes: 15
steps:
Expand All @@ -136,6 +147,7 @@ jobs:

yaml-lint:
name: YAML lint checks
needs: check-owner
runs-on: ubuntu-slim
timeout-minutes: 15
steps:
Expand All @@ -160,6 +172,7 @@ jobs:

bazel-lint:
name: Bazel build lint checks
needs: check-owner
runs-on: ubuntu-slim
timeout-minutes: 15
steps:
Expand All @@ -183,6 +196,7 @@ jobs:

action-lint:
name: GitHub Actions lint checks
needs: check-owner
runs-on: ubuntu-slim
timeout-minutes: 15
steps:
Expand All @@ -204,6 +218,7 @@ jobs:
needs:
- action-lint
- bazel-lint
- check-owner
- python-checks
- shell-lint
- yaml-lint
Expand Down Expand Up @@ -298,6 +313,7 @@ jobs:
needs:
- action-lint
- bazel-lint
- check-owner
- python-checks
- shell-lint
- yaml-lint
Expand Down Expand Up @@ -353,6 +369,7 @@ jobs:
needs:
- action-lint
- bazel-lint
- check-owner
- python-checks
- shell-lint
- yaml-lint
Expand Down Expand Up @@ -407,6 +424,7 @@ jobs:
name: Docker build tests
needs:
- action-lint
- check-owner
- docker-lint
- python-checks
- shell-lint
Expand Down Expand Up @@ -451,6 +469,7 @@ jobs:
needs:
- action-lint
- bazel-lint
- check-owner
- docker-lint
- docker-tests
- library-tests
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cirq_compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ concurrency:

jobs:
test-compatibility:
if: github.repository_owner == 'quantumlib'
name: Test Cirq compatibility
runs-on: ubuntu-24.04
timeout-minutes: 30
Expand Down
Loading