Skip to content

Commit

Permalink
#36572 replace bitbucket-pipelines.yml by github action yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mbe1987 committed Jun 7, 2024
1 parent 47ab122 commit e0a90b7
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 47 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/phpunit.yml
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
47 changes: 0 additions & 47 deletions bitbucket-pipelines.yml

This file was deleted.

0 comments on commit e0a90b7

Please sign in to comment.