Skip to content

Commit

Permalink
CI are now synct and handled smarter for forks (#1240)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom authored Oct 11, 2024
1 parent dd6d2b6 commit b05fca8
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: Testing
on:
pull_request:
push:
branches:
- main
pull_request:
types: [opened, synchronize, ready_for_review]


jobs:
validate:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name
steps:
- name: Checkout the source code
uses: actions/checkout@master
Expand All @@ -19,9 +20,6 @@ jobs:

lint:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name
steps:
- name: Checkout the source code
uses: actions/checkout@master
Expand All @@ -31,11 +29,8 @@ jobs:
args: --exit e --directory cScripts/functions
continue-on-error: true # No failure due to many false-positives

testing:
quality:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name
steps:
- name: Checkout the source code
uses: actions/checkout@master
Expand Down

0 comments on commit b05fca8

Please sign in to comment.