🤖 Sync org-wide files to upstream repo (#316) #740
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean install of the dependencies and run tests across different versions | |
# | |
# Replace <track> with the track name | |
# Replace <image-name> with an image to run the jobs on | |
# Replace <action to setup tooling> with a github action to setup tooling on the image | |
# Replace <install dependencies> with a cli command to install the dependencies | |
# | |
# Find Github Actions to setup tooling here: | |
# - https://github.com/actions/?q=setup&type=&language= | |
# - https://github.com/actions/starter-workflows/tree/main/ci | |
# - https://github.com/marketplace?type=actions&query=setup | |
# | |
# Requires scripts: | |
# - bin/test | |
name: test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- name: Use Node.js LTS (16.x) | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 | |
with: | |
node-version: '16' | |
- run: npm install @abaplint/cli -g | |
- run: abaplint abaplint.json | |
- run: abaplint abaplint_solutions.json | |
- run: docker pull exercism/abap-test-runner | |
- name: Run tests for all exercises | |
run: sh ./bin/test |