Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ecoologic committed Oct 6, 2023
1 parent 13b8c94 commit f5428c6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Build Docker image
run: docker build . --file Dockerfile --tag zendesk_api_client_php-app

- name: Run Composer install
run: docker run --rm --volume "$(pwd):/app" zendesk_api_client_php-app composer install

- name: Run tests
run: docker run --rm --volume "$(pwd):/app" zendesk_api_client_php-app vendor/bin/phpunit --testsuite "Zendesk API Unit Test Suites"

0 comments on commit f5428c6

Please sign in to comment.