Skip to content

Commit

Permalink
Migrate contrib-tests workflow to GithubActions (#2290)
Browse files Browse the repository at this point in the history
  • Loading branch information
shovnik committed Dec 15, 2020
1 parent 45c7d49 commit f08fd5b
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: Run Contrib 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 f08fd5b

Please sign in to comment.