Skip to content
check-square

GitHub Action

FRC Build & Test

v1.1.2 Latest version

FRC Build & Test

check-square

FRC Build & Test

Automatically build and test your FRC robot projects

Installation

Copy and paste the following snippet into your .yml file.

              

- name: FRC Build & Test

uses: ewpratten/FRC-actions@v1.1.2

Learn more about this action in ewpratten/FRC-actions

Choose a version

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.