Skip to content

Commit

Permalink
Testing Suite cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron committed Nov 12, 2024
1 parent 5e8005a commit 0d8611d
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 17 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/acceptancetests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@ on:
branches: [ "master", "*.*-dev" ]

jobs:
unit:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3

- name: Run Unit Tests
run: make unit-test

- name: Store screenshots
uses: actions/upload-artifact@v4
if: failure()
with:
name: unit-test
path: tests/_output

acceptance:
runs-on: ubuntu-24.04
steps:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/codeStyleAnalysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Static Analysis

on:
workflow_dispatch:
push:
branches: [ "master", "*.*-dev" ]
pull_request:
branches: [ "master", "*.*-dev" ]

jobs:
phpstan:

runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v3

- name: Install Dependencies
run: make build-dev

- name: Run Pint Analysis
run: make phpstan
1 change: 1 addition & 0 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Makefile CI

on:
workflow_dispatch:
push:
branches: [ "master", "*.*-dev" ]
pull_request:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/staticAnalysis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Static Analysis

on:
workflow_dispatch:
push:
branches: [ "master", "*.*-dev" ]
pull_request:
branches: [ "master" ]
branches: [ "master", "*.*-dev" ]

jobs:
phpstan:
Expand All @@ -16,4 +19,4 @@ jobs:
run: make build-dev

- name: Run Tests
run: make phpstan
run: make test-code-style
24 changes: 24 additions & 0 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Tests

on:
workflow_dispatch:
push:
branches: [ "master", "*.*-dev" ]
pull_request:
branches: [ "master", "*.*-dev" ]

jobs:
unit:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3

- name: Run Unit Tests
run: make unit-test

- name: Store screenshots
uses: actions/upload-artifact@v4
if: failure()
with:
name: unit-test
path: tests/_output

0 comments on commit 0d8611d

Please sign in to comment.