Skip to content

Commit

Permalink
Merge pull request eurofurence#7 from eurofurence/feature/ci_test
Browse files Browse the repository at this point in the history
Add test GitHub workflow
  • Loading branch information
TokenRat authored Sep 1, 2024
2 parents 8857838 + 65ad0ca commit a972939
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Test"

on:
push:
tags-ignore: [ "v[0-9]+.[0-9]+.[0-9]+.*", "trigger-push" ]
pull_request:

jobs:
test:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"

- uses: "actions/cache@v4"
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: "${{ runner.os }}-pio"

- uses: "actions/setup-python@v4"
with:
python-version: "3.12"

- name: "Copy File"
run: "cp include/secrets.h.dist include/secrets.h"

- name: "Install PlatformIO Core"
run: "pip install --upgrade platformio"

- name: "Build PlatformIO Project"
run: "pio run"

0 comments on commit a972939

Please sign in to comment.