imp: Allow admin to create invoice > 120€ #284
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
- 'feat/**' | |
pull_request: | |
branches: | |
- main | |
- 'feat/**' | |
env: | |
NODOCKER: true | |
NUMBER_OF_DATASETS: 25 | |
COVERAGE: --coverage-text | |
STRIPE_ENDPOINT: http://localhost:12111 | |
jobs: | |
build: | |
name: PHP ${{ matrix.php-versions }} CI on ${{ matrix.operating-system }} | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
php-versions: ['8.2'] | |
services: | |
stripe-mock: | |
image: stripemock/stripe-mock:latest | |
ports: | |
- 127.0.0.1:12111-12112:12111-12112 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
coverage: xdebug | |
extensions: pdo | |
- name: Install the dependencies | |
run: make install | |
- name: Run the linters | |
run: make lint | |
- name: Run the test suite | |
run: make test |