Skip to content

Commit

Permalink
Merge pull request #32 from dikastes/test
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
dikastes authored Sep 6, 2024
2 parents 307b4b9 + d45b7c2 commit e218a83
Show file tree
Hide file tree
Showing 44 changed files with 3,798 additions and 766 deletions.
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-22.04
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-22.04
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-22.04
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: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.Build/
.idea/
.cache/
Build/testing-docker/.env
bin/
public/
typo3temp/
vendor/
composer.lock
Loading

0 comments on commit e218a83

Please sign in to comment.