* add container based dev flow Signed-off-by: Tonis Tiigi <[email protected]> * Fix yarn test for container based dev flow Signed-off-by: CrazyMax <[email protected]> * Update contributing guidelines and test workflow Signed-off-by: CrazyMax <[email protected]> Co-authored-by: CrazyMax <[email protected]>
47 lines
864 B
YAML
47 lines
864 B
YAML
name: test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- releases/v*
|
|
paths-ignore:
|
|
- "**.md"
|
|
pull_request:
|
|
paths-ignore:
|
|
- "**.md"
|
|
|
|
jobs:
|
|
test-containerized:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/[email protected]
|
|
-
|
|
name: Validate
|
|
run: docker buildx bake validate
|
|
-
|
|
name: Test
|
|
run: docker buildx bake test
|
|
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/[email protected]
|
|
-
|
|
name: Install
|
|
run: yarn install
|
|
-
|
|
name: Test
|
|
run: yarn run test
|
|
# -
|
|
# name: Upload coverage
|
|
# uses: codecov/[email protected]
|
|
# if: success()
|
|
# with:
|
|
# token: ${{ secrets.CODECOV_TOKEN }}
|
|
# file: ./coverage/clover.xml
|