-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#36572 replace bitbucket-pipelines.yml by github action yml
- Loading branch information
Showing
2 changed files
with
36 additions
and
47 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: PHP CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
php: | ||
image: php:7.4.33-cli | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install dependencies | ||
run: | | ||
docker-php-ext-install calendar | ||
apt-get update && apt-get install -y unzip libxml2-dev | ||
docker-php-ext-install soap | ||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | ||
composer install | ||
env: | ||
COMPOSER_CACHE_DIR: ${{ github.workspace }}/.composer/cache | ||
|
||
- name: Run tests | ||
run: | | ||
src/modules/mo/mo_dhl/vendor/bin/phpunit -c tests/phpunit.xml tests |
This file was deleted.
Oops, something went wrong.