Skip to content

Commit

Permalink
feat(pipeline): implement pipeline for ITG Gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitrovn authored Oct 25, 2023
1 parent 095cf3a commit a1e81d7
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

Check warning on line 5 in .github/workflows/run-test.yml

View check run for this annotation

In Solidarity / Inclusive Language

Match Found

Please consider an alternative to `master`. Possibilities include: `primary`, `main`, `leader`, `active`, `writer`
Raw output
/\b(?!masterdata|masterdata\w+\b)master/gi
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 a1e81d7

Please sign in to comment.