Skip to content

Commit

Permalink
Merge pull request #76 from silinternational/develop-1.x
Browse files Browse the repository at this point in the history
Release: Change Codeship testing to Github Actions
  • Loading branch information
mtompset authored Mar 25, 2024
2 parents bfb942f + 2ed20a8 commit f34c1b1
Show file tree
Hide file tree
Showing 6 changed files with 135 additions and 101 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: PHP Unit Tests

on:
push:

env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
DF_RUN_TOKEN: ${{ secrets.DF_RUN_TOKEN }}
IMAGE_NAME: google-api-php-client-mock
AWS_REGION: ${{ vars.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run unit tests
run: docker-compose -f actions-services.yml run --rm google-api-php-client-mock "./run-tests.sh"
5 changes: 5 additions & 0 deletions actions-services.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: "3"
services:
google-api-php-client-mock:
build: .
working_dir: /data
3 changes: 0 additions & 3 deletions codeship-services.yml

This file was deleted.

3 changes: 0 additions & 3 deletions codeship-steps.yml

This file was deleted.

Loading

0 comments on commit f34c1b1

Please sign in to comment.