-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): bump mongolid and mongolid-laravel to v3.3-beta
- Loading branch information
1 parent
4601fa1
commit 2ae8444
Showing
5 changed files
with
357 additions
and
549 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,34 @@ | ||
on: [push] | ||
name: Tests | ||
name: Continuous Integration | ||
on: | ||
- pull_request | ||
- push | ||
jobs: | ||
setup-and-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
testing: | ||
name: Tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php: | ||
- "7.3" | ||
- "7.4" | ||
services: | ||
db: | ||
image: mongo:4.2 | ||
ports: | ||
- "27017:27017" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Build containers | ||
run: docker-compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g) | ||
- name: PHP setup | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
|
||
- name: Composer install | ||
run: docker-compose run --rm -T php composer install --no-interaction --no-progress | ||
- name: Composer | ||
uses: ramsey/composer-install@v2 | ||
|
||
- name: Run Tests | ||
run: docker-compose run --rm -T php vendor/bin/phpunit | ||
- name: Run Tests | ||
run: vendor/bin/phpunit |
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
Oops, something went wrong.