This action was designed to give FRC teams a simple way to automatically run tests on their code with every commit. All inside GitHub, no 3rd party services are required!
To get this action running in your project, add the following config to .github/workflows/frcbuild.yml
:
name: FRC Build & Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2-beta
- name: FRC Build & Test
uses: ewpratten/FRC-actions@v1
with:
build_mode: 'all'
The build_mode
property can be any one of:
build
Only builds the robot codeunit_test
Only runs unit tests, does not buildall
Runs bothThis tool is not affiliated with FIRST or @wpilibsuite
That being said, If anyone from @wpilibsuite thinks this would be a useful project to adopt, let me know via email or an issue.