feat: collect codecov integration tests

This commit is contained in:
Joe Previte 2022-09-19 12:50:56 -07:00
parent 6ad5d9a7c3
commit 90308733ce
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24
2 changed files with 8 additions and 1 deletions

View File

@ -382,6 +382,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15 timeout-minutes: 15
container: "centos:7" container: "centos:7"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps: steps:
- name: Checkout repo - name: Checkout repo
@ -438,6 +440,12 @@ jobs:
- name: Run integration tests on standalone release - name: Run integration tests on standalone release
run: yarn test:integration run: yarn test:integration
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
if: success()
- name: Build packages with nfpm - name: Build packages with nfpm
run: yarn package run: yarn package

View File

@ -24,7 +24,6 @@ main() {
path="$CODE_SERVER_PATH" path="$CODE_SERVER_PATH"
fi fi
# WIP jsjoeio
if [[ ! -f "test/integration/test-plugin/out/index.js" ]]; then if [[ ! -f "test/integration/test-plugin/out/index.js" ]]; then
echo "Building test plugin" echo "Building test plugin"
pushd test/integration/test-plugin pushd test/integration/test-plugin