Add main Github Actions workflow

This commit is contained in:
Patrick Rathje 2020-08-18 23:16:02 +02:00
parent 1ca37ace96
commit 5c479d51ab
2 changed files with 32 additions and 0 deletions

30
.github/workflows/main.yaml vendored Normal file
View File

@ -0,0 +1,30 @@
name: PlatformIO CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Run PlatformIO Build
run: platformio run --environment nrf52840_dk
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Run PlatformIO Tests
run: platformio test --environment desktop

View File

@ -2,6 +2,8 @@
**Contributions Welcome!**
[![Actions Status](https://github.com/CovidBraceletPrj/CovidBracelet/workflows/main/badge.svg)](https://github.com/CovidBraceletPrj/CovidBracelet/actions)
## Features
* Sends and receives exposure beacons as specified by Google and Apple for Covid Contact Tracing
* Rolling, encrypted, anonymous beacons