mirror of
https://github.com/CovidBraceletPrj/CovidBracelet.git
synced 2025-07-15 13:58:13 +02:00
Add main Github Actions workflow
This commit is contained in:
parent
1ca37ace96
commit
5c479d51ab
2 changed files with 32 additions and 0 deletions
30
.github/workflows/main.yaml
vendored
Normal file
30
.github/workflows/main.yaml
vendored
Normal 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
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
**Contributions Welcome!**
|
||||
|
||||
[](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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue