Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ewpratten/frc-actions
- Owner: ewpratten
- License: mit
- Archived: true
- Created: 2019-08-26T14:27:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-11T17:50:25.000Z (over 4 years ago)
- Last Synced: 2024-09-26T13:43:19.527Z (4 months ago)
- Topics: cpp, frc, github-actions, java, unit-testing
- Language: Shell
- Size: 23.4 KB
- Stars: 14
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.