mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-25 09:42:35 +00:00
test_native.yaml checks out code for the PR. (#5720)
This commit is contained in:
parent
88d8ab53c8
commit
7a1c32b89a
29
.github/workflows/test_native.yml
vendored
29
.github/workflows/test_native.yml
vendored
@ -16,6 +16,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
ref: ${{github.event.pull_request.head.ref}}
|
||||||
|
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Setup native build
|
- name: Setup native build
|
||||||
@ -67,6 +69,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
ref: ${{github.event.pull_request.head.ref}}
|
||||||
|
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Setup native build
|
- name: Setup native build
|
||||||
@ -115,23 +119,26 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{github.event.pull_request.head.ref}}
|
||||||
|
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||||
|
|
||||||
- name: Get release version string
|
- name: Get release version string
|
||||||
run: echo "version=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
|
run: echo "version=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
|
||||||
id: version
|
id: version
|
||||||
|
|
||||||
# - name: Download test artifacts
|
- name: Download test artifacts
|
||||||
# uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
# with:
|
with:
|
||||||
# name: platformio-test-report-${{ steps.version.outputs.version }}.zip
|
name: platformio-test-report-${{ steps.version.outputs.version }}.zip
|
||||||
# merge-multiple: true
|
merge-multiple: true
|
||||||
|
|
||||||
# - name: Test Report
|
- name: Test Report
|
||||||
# uses: dorny/test-reporter@v1.9.1
|
uses: dorny/test-reporter@v1.9.1
|
||||||
# with:
|
with:
|
||||||
# name: PlatformIO Tests
|
name: PlatformIO Tests
|
||||||
# path: testreport.xml
|
path: testreport.xml
|
||||||
# reporter: java-junit
|
reporter: java-junit
|
||||||
|
|
||||||
# - name: Download coverage artifacts
|
# - name: Download coverage artifacts
|
||||||
# uses: actions/download-artifact@v4
|
# uses: actions/download-artifact@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user