|
|
|
@ -5,7 +5,7 @@ on:
|
|
|
|
branches: [ master ]
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
test-regenerate:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
|
fail-fast: true
|
|
|
|
fail-fast: true
|
|
|
|
@ -20,6 +20,18 @@ jobs:
|
|
|
|
run: make generate
|
|
|
|
run: make generate
|
|
|
|
- name: Verify generated sources
|
|
|
|
- name: Verify generated sources
|
|
|
|
run: git diff --exit-code
|
|
|
|
run: git diff --exit-code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test-without-regenerate:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
|
|
|
|
fail-fast: true
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
node-version: '14'
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
|
|
|
|
run: npm install
|
|
|
|
- name: Run tests
|
|
|
|
- name: Run tests
|
|
|
|
run: npm test
|
|
|
|
run: npm test
|
|
|
|
- name: Run cargo tests
|
|
|
|
- name: Run cargo tests
|
|
|
|
|