Skip to content

Commit

Permalink
Added job
Browse files Browse the repository at this point in the history
  • Loading branch information
mauro-midolo committed Dec 21, 2023
1 parent c51a3a7 commit 6b8c194
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ on:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Run tests on the native platform
run: platformio run -e heltec_wifi_kit_32_V3 -d ./examples/example1/
test:
runs-on: ubuntu-latest
steps:
Expand All @@ -21,7 +35,9 @@ jobs:
- name: Run tests on the native platform
run: platformio test -e stable -d ./examples/example1/
release:
needs: test
needs:
- build
- test
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand Down

0 comments on commit 6b8c194

Please sign in to comment.