Container based developer flow

This commit is contained in:
CrazyMax
2020-12-19 03:21:31 +01:00
parent adc72eac06
commit 2654df7d45
7 changed files with 1051 additions and 49 deletions

View File

@@ -3,10 +3,15 @@ name: test
on:
push:
branches:
- master
- 'master'
- 'releases/v*'
paths-ignore:
- '**.md'
pull_request:
branches:
- master
- 'master'
paths-ignore:
- '**.md'
jobs:
test:
@@ -15,16 +20,12 @@ jobs:
-
name: Checkout
uses: actions/checkout@v2
-
name: Install
run: yarn install
-
name: Test
run: yarn run test
run: docker buildx bake test
-
name: Upload coverage
uses: codecov/codecov-action@v1
if: success()
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/clover.xml

25
.github/workflows/validate.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: validate
on:
push:
branches:
- 'master'
- 'releases/v*'
paths-ignore:
- '**.md'
pull_request:
branches:
- 'master'
paths-ignore:
- '**.md'
jobs:
validate:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Validate
run: docker buildx bake validate