Separate build and test workflows to show them independently

This commit is contained in:
Patrick Rathje 2020-08-18 23:24:35 +02:00
parent c6d3b41a4b
commit 274b155534
3 changed files with 18 additions and 14 deletions

17
.github/workflows/build.yaml vendored Normal file
View File

@ -0,0 +1,17 @@
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

View File

@ -3,19 +3,6 @@ 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:

View File

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