Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/karniv00l/platformio-remote-test-action

GitHub Action for PlatformIO CI Remote Test
https://github.com/karniv00l/platformio-remote-test-action

actions ci-cd github-actions platformio platformio-ci platformio-cli

Last synced: 8 days ago
JSON representation

GitHub Action for PlatformIO CI Remote Test

Awesome Lists containing this project

README

        

# PlatformIO Remote Test

GitHub Action for PlatformIO Remote Test.

## Usage

`.github/workflows/platformio-test.yml`

```yml
name: PlatformIO

on: pull_request

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: PlatformIO Test
uses: karniv00l/[email protected]
with:
environments: "teensy35,teensy36,teensy41"
ignores: "mytest*,test[13]"
upload-port: "/dev/cu.SLAB_USBtoUART"
test-port: "/dev/cu.uart-1CFF4676258F4543"
project-dir: "./some_dir"
force-remote: true
without-building: false
without-uploading: false
verbose: true
```

## Inputs

```yml
environments:
description: Process specified environments (comma separated).
required: false
ignores:
description: Ignore tests where the name matches specified patterns. More than one pattern is allowed (comma separated).
required: false
upload-port:
description: A port that is intended for firmware uploading.
required: false
test-port:
description: A Serial/UART port that PlatformIO uses as communication interface between PlatformIO Unit Test Engine and target device.
required: false
project-dir:
description: Specify the path to project directory. By default, project-dir is equal to current working directory (CWD).
required: false
force-remote:
description: By default, Remote Development processes project on a host machine and deploy final testing firmware (program) to remote device (embedded board).
required: false
without-building:
description: Skip building stage.
required: false
without-uploading:
description: Skip uploading stage.
required: false
verbose:
description: Shows detailed information when processing environments.
required: false
```