Skip to content

Testing GitHub actions #2

Testing GitHub actions

Testing GitHub actions #2

Workflow file for this run

name: Integration test
on:
push:
branches:
- "*"
pull_request:
jobs:
test:
runs-on:
group: linux
steps:
- uses: actions/checkout@v2
- name: Create Passwords.h
run: |
echo "#define WIFI_SSID = \"${{ secrets.WIFI_SSID }}\";" > esp32/lib/WifiSetup/Passwords.h
echo "#define WIFI_PASSWORD = \"${{ secrets.WIFI_PASSWORD }}\";" >> esp32/lib/WifiSetup/Passwords.h
- name: Run PlatformIO tests
run: |
cd esp32
pio test