Skip to content

Commit

Permalink
Add pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Richter committed Mar 14, 2024
1 parent 7f0e6c4 commit 59317e6
Show file tree
Hide file tree
Showing 11 changed files with 1,410 additions and 1 deletion.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: CI
on:
push:
jobs:
code-quality:
name: "Code quality checks"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Install Composer dependencies"
run: "composer ci:install"
- name: "Run command"
run: "composer ci:php:stan"

unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
needs: [ code-quality ]
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Install Composer dependencies"
run: "composer ci:install"
- name: "Run the tests"
run: "composer ci:tests:unit"

functional-tests:
name: Functional Tests
runs-on: ubuntu-latest
needs: [ code-quality ]
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Install Composer dependencies"
run: "composer update --no-progress"
- name: "Run the tests"
run: "composer ci:tests:functional"
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
.idea
.idea/
.cache
Build/testing-docker/.env
bin/
public/
typo3temp/
vendor/
composer.lock
Loading

0 comments on commit 59317e6

Please sign in to comment.