setup test action (#16)

* setup test action

* lint both solutions and exercises

* rename action

* rename
This commit is contained in:
Lars Hvam
2021-11-26 08:46:40 +01:00
committed by GitHub
parent b26cbe86ab
commit 0011764f80
4 changed files with 579 additions and 13 deletions

View File

@@ -13,7 +13,7 @@
# Requires scripts:
# - bin/test
name: <track> / Test
name: test
on:
push:
@@ -23,17 +23,17 @@ on:
jobs:
ci:
runs-on: <image-name>
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Use <setup tooling>
uses: <action to setup tooling>
- name: Install project dependencies
run: <install dependencies>
- name: Checkout code
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- name: Use Node.js LTS (16.x)
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
with:
node-version: '16'
- run: npm install @abaplint/cli -g
- run: abaplint abaplint_exercises.json
- run: abaplint abaplint_solutions.json
- name: Run tests for all exercises
run: bin/test