mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-04 03:18:10 +10:00
ci: validate DS18B20 Heltec V3 firmware
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
name: DS18B20 Heltec V3
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- ds18b20-heltec-v3-v2.7.26
|
||||
pull_request:
|
||||
branches:
|
||||
- ds18b20-heltec-v3-v2.7.26
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
version:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
long: ${{ steps.version.outputs.long }}
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- id: version
|
||||
run: echo "long=$(./bin/buildinfo.py long)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
firmware:
|
||||
needs: version
|
||||
uses: ./.github/workflows/build_firmware.yml
|
||||
with:
|
||||
version: ${{ needs.version.outputs.long }}
|
||||
platform: esp32s3
|
||||
pio_env: heltec-v3-ds18b20
|
||||
|
||||
ds18b20-tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
submodules: recursive
|
||||
- uses: ./.github/actions/setup-native
|
||||
- name: Run DS18B20 unit tests
|
||||
run: platformio test -e native -f test_ds18b20
|
||||
Reference in New Issue
Block a user