Skip to content

Commit

Permalink
add integration test
Browse files Browse the repository at this point in the history
Signed-off-by: Ludvig Liljenberg <[email protected]>
  • Loading branch information
ludfjig committed Aug 31, 2023
1 parent 109efc9 commit eb6fd95
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/porter-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: porter/porter-integration
on:
issue_comment:
types: [created, edited]

env:
GOVERSION: 1.20.7

jobs:
Integration_test:
if: contains(github.event.comment.body, '/integration_test')
name: Integration Test
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
- uses: actions/setup-go@v4
with:
go-version: "${{ env.GOVERSION }}"
# Unable to determine registry 'ghcr.io/getporter' type. The service connection was not found or the authentication type not supported.
- name: Docker Login
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Native Build
run: go run mage.go Build
shell: bash
- name: Integration Test
run: go run mage.go -v TestIntegration
shell: bash

0 comments on commit eb6fd95

Please sign in to comment.