Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ewpratten/frc-actions

🤖 Automatically build and test your FRC robot projects with GitHub Actions
https://github.com/ewpratten/frc-actions

cpp frc github-actions java unit-testing

Last synced: 3 days ago
JSON representation

🤖 Automatically build and test your FRC robot projects with GitHub Actions

Awesome Lists containing this project

README

        

# 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`:
```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](https://github.com/wpilibsuite)

That being said, If anyone from [@wpilibsuite](https://github.com/wpilibsuite) thinks this would be a useful project to adopt, let me know via email or an issue.