FRC-actions
FRC-actions copied to clipboard
🤖 Automatically build and test your FRC robot projects with GitHub Actions
FRC Build & Test action
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!
Setup
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 code -
unit_test
Only runs unit tests, does not build -
all
Runs both
This 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.