Chopper support #2227
Workflow file for this run
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
# The workflow name | |
name: Run unit tests | |
# Controls when the workflow will run | |
# - push will trigger when a push to any branch is made (only when any lua file is changed) | |
# - pull_request will trigger when a PR is made and when new commits are made on a PR (only when any lua file is changed) | |
# - workflow_dispatch is a manual trigger | |
on: | |
push: | |
paths: | |
- '**.lua' | |
pull_request: | |
paths: | |
- '**.lua' | |
workflow_dispatch: | |
# The list of jobs this workflow executes | |
jobs: | |
test: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Lua | |
uses: xpol/[email protected] | |
- name: Run unit tests | |
run: | | |
cd scripts/test | |
lua CourseManagerTest.lua | |
lua CpMathUtilTest.lua | |
lua MovingAverageTest.lua | |
lua PolygonTest.lua |