Skip to content

Commit

Permalink
Merge pull request #17 from slub/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
dikastes authored Sep 18, 2024
2 parents 4b3a522 + 050b46e commit 99b70f0
Show file tree
Hide file tree
Showing 30 changed files with 4,264 additions and 6 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
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: "Setup PHP"
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
- 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: "Setup PHP"
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
- name: "Install Composer dependencies"
run: "composer update --no-progress"
- name: "Run the tests"
run: "composer ci:tests:functional"
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.idea/
.cache
Build/testing-docker/.env
bin/
public/
typo3temp/
vendor/
composer.lock
Tests/Testfiles/*.json
Loading

0 comments on commit 99b70f0

Please sign in to comment.