Skip to content

Commit

Permalink
Investigate triggering tests on automated PR (#9)
Browse files Browse the repository at this point in the history
* add Adrian as codeowner so it can be him or core-enablement team to approve PRs and updates to testing

* update php version and remove .idea folder
  • Loading branch information
rkeur7 authored Nov 18, 2024
1 parent 5f88a6d commit d31f4b9
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 371 deletions.
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* @goshippo/core-enablement
* @goshippo/core-enablement
* @AdrianCollinsShippo
24 changes: 5 additions & 19 deletions .github/workflows/sdk_validation.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Validate

permissions:
contents: write
id-token: write
Expand All @@ -17,31 +18,16 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
concurrency:
group: php-sdk-check
group: php-sdk-check-${{ github.event.pull_request.number }}
steps:
- name: Authenticate with AWS
uses: goshippo/shippo-action-workflows/.github/actions/[email protected]
with:
environment: dev-main
oidc-name: shippo-php-sdk-pipeline
login-to-ecr: false

- name: Get Speakeasy Secrets Manager
uses: aws-actions/aws-secretsmanager-get-secrets@v2
with:
secret-ids: |
dev-main-speakeasy-api-key
name-transformation: uppercase
parse-json-secrets: true

- name: Check out repository
uses: actions/checkout@v4

- name: Set up PHP
id: setup_php
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'

- name: cache dependencies
uses: actions/cache@v4
Expand All @@ -54,6 +40,6 @@ jobs:
make install
- name: Check
run: make check
run: make check
env:
SHIPPO_TOKEN: ${{ env.DEV_MAIN_SPEAKEASY_API_KEY_SHIPPO_TOKEN }}
SHIPPO_TOKEN: ${{ secrets.SHIPPO_TOKEN }}
6 changes: 0 additions & 6 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

14 changes: 0 additions & 14 deletions .idea/php-test-framework.xml

This file was deleted.

64 changes: 0 additions & 64 deletions .idea/php.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/phpunit.xml

This file was deleted.

55 changes: 0 additions & 55 deletions .idea/shippo-php-sdk.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

Loading

0 comments on commit d31f4b9

Please sign in to comment.