Skip to content

Merge pull request #176 from newrelic/11.5.0 #209

Merge pull request #176 from newrelic/11.5.0

Merge pull request #176 from newrelic/11.5.0 #209

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "pr_runner"
pr_runner:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Get the branch name so that we know which version to run CI on
- name: Extract branch name
shell: bash
run: echo "branch=$(echo ${GITHUB_HEAD_REF})" >>$GITHUB_OUTPUT
id: extract_branch
# Runs the test scripts using the runner's shell
- name: Run tests
run: |
echo Running tests
chmod +x ./tests/image-tests.sh
./tests/image-tests.sh ${{ steps.extract_branch.outputs.branch }}
shell: bash