Skip to content

Commit

Permalink
feat(pipeline): implement pipeline for ITG Gitlab (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitrovn authored Oct 26, 2023
1 parent 095cf3a commit bc25d4d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run tests
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Run gitlab tests
uses: digital-blueprint/gitlab-pipeline-trigger-action@main
with:
host: "${{ vars.GITLAB_URL }}"'
trigger_token: ${{ secrets.DEPLOY_TRIGGER_TOKEN }}
access_token: ${{ secrets.DEPLOY_ACCESS_TOKEN }}
id: '227'
ref: 'main'
variables: '{"MAGENTO_EXTENSION_BRANCH": "${{ steps.extract_branch.outputs.branch }}"}'

0 comments on commit bc25d4d

Please sign in to comment.