mirror of
https://github.com/archtechx/money.git
synced 2025-12-12 03:14:03 +00:00
wip
This commit is contained in:
parent
4474c2b115
commit
e280bf0a8b
2 changed files with 11 additions and 5 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -13,15 +13,19 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pest:
|
pest:
|
||||||
name: Tests (Pest)
|
name: Tests (Pest) L${{ matrix.laravel }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: true
|
||||||
|
matrix:
|
||||||
|
laravel: [9, 8]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Start docker containers
|
- name: Start docker containers
|
||||||
run: docker-compose up -d
|
run: docker-compose up -d
|
||||||
- name: Install composer dependencies
|
- name: Install composer dependencies
|
||||||
run: composer install
|
run: require "illuminate/support:^${{ matrix.laravel }}.0"
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: vendor/bin/pest
|
run: vendor/bin/pest
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,11 +25,11 @@
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.0",
|
"php": "^8.0",
|
||||||
"illuminate/support": "^8.24",
|
"illuminate/support": "^8.0|^9.0",
|
||||||
"archtechx/helpers": "*"
|
"archtechx/helpers": "*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"orchestra/testbench": "^6.9",
|
"orchestra/testbench": "^6.9|^7.0",
|
||||||
"pestphp/pest": "^1.10",
|
"pestphp/pest": "^1.10",
|
||||||
"phpstan/phpstan": "^0.12.92",
|
"phpstan/phpstan": "^0.12.92",
|
||||||
"pestphp/pest-plugin-laravel": "^1.1",
|
"pestphp/pest-plugin-laravel": "^1.1",
|
||||||
|
|
@ -41,5 +41,7 @@
|
||||||
"ArchTech\\Money\\MoneyServiceProvider"
|
"ArchTech\\Money\\MoneyServiceProvider"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"minimum-stability": "dev",
|
||||||
|
"prefer-stable": true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue