Changing startup code for nRF9151 #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
container: zephyrprojectrtos/ci:v0.26.14 | |
env: | |
CMAKE_PREFIX_PATH: /opt/toolchains | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
path: nfed | |
- name: Set variables | |
working-directory: nfed | |
id: vars | |
run: | | |
echo "branch=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT | |
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | |
- name: Initialize | |
working-directory: nfed | |
run: | | |
pip3 install -U west | |
west init -l . | |
west update | |
pip3 install -r ../zephyr/scripts/requirements-base.txt | |
- name: Tests | |
working-directory: nfed | |
run: | | |
../zephyr/scripts/twister -W -T tests/ | |
- name: Archive test results | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: nfed_${{ steps.vars.outputs.branch }}_${{ steps.vars.outputs.sha_short }} | |
path: | | |
nfed/twister-out/testplan.json | |
nfed/twister-out/twister_report.xml | |
nfed/twister-out/twister_suite_report.xml | |
nfed/twister-out/twister.json | |
nfed/twister-out/testplan.json | |
nfed/twister-out/**/*.log |