Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Gielniewski <[email protected]>
  • Loading branch information
adigie committed Feb 13, 2025
1 parent 4f242e8 commit f415a66
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/examples-nrfconnect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,9 @@ jobs:
runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'

container:
image: ghcr.io/project-chip/chip-build-nrf-platform:112
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout submodules & Bootstrap
uses: ./.github/actions/checkout-submodules-and-bootstrap
with:
platform: nrfconnect
- name: Detect changed paths
uses: dorny/paths-filter@v3
id: changed_paths
with:
filters: |
nrfconnect:
- '**/nrfconnect/**'
- '**/Zephyr/**'
- '**/zephyr/**'
tests:
- '**/tests/**'
shell:
- 'examples/shell/nrfconnect/**'
- name: Update NCS recommended version
if: github.event_name == 'pull_request'
run: |
Expand All @@ -78,23 +56,3 @@ jobs:
echo "Using NCS from $(cat config/nrfconnect/.nrfconnect-recommended-revision)"
fi
fi
- name: Check nRF Connect SDK revision.
run: scripts/run_in_build_env.sh "python3 scripts/setup/nrfconnect/update_ncs.py --update"
continue-on-error: true
- name: Run unit tests of factory data generation script
run: |
scripts/run_in_build_env.sh 'pip3 install -r scripts/setup/requirements.nrfconnect.txt'
scripts/run_in_build_env.sh "./scripts/tools/nrfconnect/tests/test_generate_factory_data.py"
- name: Run unit tests for Zephyr native_posix_64 platform
if: github.event_name == 'push' || steps.changed_paths.outputs.tests == 'true' || steps.changed_paths.outputs.nrfconnect == 'true'
run: |
# Temporarily fix link issue
sed -i '151s/<LINK_FLAGS> //' /opt/NordicSemiconductor/nrfconnect/zephyr/cmake/linker/ld/target.cmake
scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target nrf-native-posix-64-tests build"
- name: Uploading Failed Test Logs
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
with:
name: test-log
path: |
src/test_driver/nrfconnect/build/Testing/Temporary/LastTest.log

0 comments on commit f415a66

Please sign in to comment.