WIP of syn2mas tool

This commit is contained in:
Hugh Nimmo-Smith authored and Quentin Gliech committed 2023-10-09 15:53:13 +02:00
1 parent 2a100ab927
commit 522c6035d2
33 files changed
+6936

No files matched your search

+3
View File
@@ -5,6 +5,8 @@ on:
branches: [ main ]
tags:
- 'v*'
paths-ignore:
- 'tools/**'
# Only run for pull requests if relevant files were changed
pull_request:
@@ -13,6 +15,7 @@ on:
- Dockerfile
- docker-bake.hcl
- .github/workflows/build.yaml
- 'tools/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
+4
View File
@@ -5,8 +5,12 @@ on:
branches: [ main ]
tags:
- 'v*'
paths-ignore:
- 'tools/**'
pull_request:
branches: [ main ]
paths-ignore:
- 'tools/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
+4
View File
@@ -3,8 +3,12 @@ name: Coverage
on:
push:
branches: [ main ]
paths-ignore:
- 'tools/**'
pull_request:
branches: [ main ]
paths-ignore:
- 'tools/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
+4
View File
@@ -3,8 +3,12 @@ name: Build and deploy the documentation
on:
push:
branches: [ main ]
paths-ignore:
- 'tools/**'
pull_request:
branches: [ main ]
paths-ignore:
- 'tools/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
+50
View File
@@ -0,0 +1,50 @@
name: CI for tools
on:
push:
paths:
- 'tools/**'
pull_request:
paths:
- 'tools/**'
concurrency:
group: tools-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
syn2mas-lint:
name: Check syn2mas style
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout the code
uses: actions/checkout@v3.5.3
- name: Install Node
uses: actions/setup-node@v3.7.0
with:
node-version-file: ./tools/syn2mas/.nvmrc
- name: Install Node dependencies
working-directory: ./tools/syn2mas
run: npm ci
- name: Lint
working-directory: ./tools/syn2mas
run: npm run lint
tests-done:
name: Tests done
if: ${{ always() }}
needs:
- syn2mas-lint
runs-on: ubuntu-latest
steps:
- uses: matrix-org/done-action@v2
with:
needs: ${{ toJSON(needs) }}