mirror of https://github.com/coder/code-server.git
feat: collect codecov integration tests
This commit is contained in:
parent
6ad5d9a7c3
commit
90308733ce
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue