Skip to content

Commit

Permalink
Migrate contrib-tests workflow to GithubActions
Browse files Browse the repository at this point in the history
  • Loading branch information
shovnik committed Dec 14, 2020
1 parent a16c599 commit 0818468
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/contrib-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: contrib-tests
on:
push:
branches: [master]
tags:
- v[0-9]+.[0-9]+.[0-9]+.*
pull_request:

jobs:
contrib_tests:
runs-on: ubuntu-latest
container:
image: cimg/go:1.15
steps:
- name: Setup Permissions
run: sudo chmod -R 777 $GITHUB_WORKSPACE /github /__w/_temp
- name: Checkout Repo
uses: actions/checkout@v2
- name: Contrib repo tests
run: |
contrib_path=/tmp/opentelemetry-collector-contrib
git clone https://github.com/open-telemetry/opentelemetry-collector-contrib.git $contrib_path
make CONTRIB_PATH=$contrib_path check-contrib

0 comments on commit 0818468

Please sign in to comment.