From 20ea2ab11513bddbf0949e5ff1b9b31ead1b4fc4 Mon Sep 17 00:00:00 2001 From: Shovnik Bhattacharya <shovnik@amazon.com> Date: Fri, 4 Dec 2020 15:17:55 -0500 Subject: [PATCH] Migrate contrib-tests workflow to GithubActions --- .github/workflows/contrib-tests.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/contrib-tests.yml diff --git a/.github/workflows/contrib-tests.yml b/.github/workflows/contrib-tests.yml new file mode 100644 index 00000000000..5351094fe6b --- /dev/null +++ b/.github/workflows/contrib-tests.yml @@ -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