Skip to content

Commit

Permalink
Add public action test to tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
abhilash1in committed May 6, 2020
1 parent 787c0e1 commit ae708bf
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Unit Tests
name: Tests
on:
pull_request:
branches:
Expand All @@ -22,7 +22,7 @@ jobs:
- run: npm test

# test action works running from the graph
action-test:
action-test-private:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -32,4 +32,15 @@ jobs:
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: ${{ secrets.AWS_REGION }}
secrets: '*secret*'
parse_json: true

action-test-public:
runs-on: ubuntu-latest
steps:
- uses: action-factory/[email protected]
with:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: ${{ secrets.AWS_REGION }}
secrets: 'my_secret*'
parse_json: true

0 comments on commit ae708bf

Please sign in to comment.