Skip to content

Commit

Permalink
ci: Also run on draft pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Sep 5, 2024
1 parent 73510b5 commit 51dcd8e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@

# Run functional regression checks
name: ci
on:
push:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
on: [push, pull_request]

jobs:

Expand All @@ -18,7 +15,6 @@ jobs:
build-docker:
name: Deploy Docker image
runs-on: ubuntu-22.04
if: github.event.pull_request.draft == false
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
Expand Down Expand Up @@ -50,7 +46,6 @@ jobs:
name: Build documentation
runs-on: ubuntu-22.04
needs: build-docker
if: github.event.pull_request.draft == false
container:
image: ghcr.io/pulp-platform/snitch_cluster:${{ github.ref_name }}
steps:
Expand All @@ -66,7 +61,6 @@ jobs:
name: Python unit tests
runs-on: ubuntu-22.04
needs: build-docker
if: github.event.pull_request.draft == false
container:
image: ghcr.io/pulp-platform/snitch_cluster:${{ github.ref_name }}
steps:
Expand All @@ -82,7 +76,6 @@ jobs:
name: Simulate SW on Snitch Cluster w/ Verilator
runs-on: ubuntu-22.04
needs: build-docker
if: github.event.pull_request.draft == false
container:
image: ghcr.io/pulp-platform/snitch_cluster:${{ github.ref_name }}
steps:
Expand Down Expand Up @@ -128,7 +121,6 @@ jobs:
name: Simulate SW on Snitch Cluster w/ Banshee
runs-on: ubuntu-22.04
needs: build-docker
if: github.event.pull_request.draft == false
container:
image: ghcr.io/pulp-platform/snitch_cluster:${{ github.ref_name }}
steps:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/gitlab-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
gitlab-ci:
name: Internal Gitlab CI
runs-on: ubuntu-22.04
if: github.event.pull_request.draft == false
steps:
- name: Check Gitlab CI
uses: pulp-platform/pulp-actions/[email protected]
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
verible-lint:
name: Lint Verilog sources
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v3
- uses: chipsalliance/verible-linter-action@main
Expand All @@ -33,7 +32,6 @@ jobs:
bender-vendor-up-to-date:
name: Check bender vendor up-to-date
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Check bender vendor up-to-date
uses: pulp-platform/pulp-actions/[email protected]
Expand All @@ -44,7 +42,6 @@ jobs:
sources-up-to-date:
name: Check Sources Up-to-Date
runs-on: ubuntu-22.04
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -76,7 +73,6 @@ jobs:
license-lint:
name: Check License headers
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Check License
uses: pulp-platform/pulp-actions/[email protected]
Expand All @@ -100,7 +96,6 @@ jobs:
yaml-lint:
name: Lint YAML Sources
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v3
- name: yaml-lint
Expand All @@ -113,7 +108,6 @@ jobs:
########################
python-lint:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
name: Lint Python Sources
steps:
- name: Check out source repository
Expand All @@ -135,7 +129,6 @@ jobs:
clangfmt:
name: Lint C/C++ Sources
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v3
- uses: DoozyX/[email protected]
Expand All @@ -149,7 +142,6 @@ jobs:
editorconfig-lint:
name: Lint Editorconfig
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v3
- uses: editorconfig-checker/action-editorconfig-checker@main
Expand Down

0 comments on commit 51dcd8e

Please sign in to comment.