Skip to content

Commit

Permalink
twister ci wip
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerwhall committed Mar 9, 2024
1 parent dddc6c1 commit 01ed0c2
Showing 1 changed file with 41 additions and 1 deletion.
42 changes: 41 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
workflow_dispatch:
push:
branches:
master
- master
- twister
pull_request:

env:
Expand All @@ -13,6 +14,7 @@ env:

jobs:
build:
if: false
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -67,3 +69,41 @@ jobs:
run: |
cd /tmp/build
ninja run || ${{ matrix.fails }}
twister:
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository }}:zephyr-rust-2.7.3-1.68.0
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive

- name: Twister
run: |
. /zephyrproject/zephyr/zephyr-env.sh
twister -T ./tests/eeprom -N
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: Twister Results (Zephyr 2.7.3)
path: twister-out/twister.xml

publish-test-results:
name: "Publish Test Results"
needs: twister
runs-on: ubuntu-latest
permissions:
checks: write
if: false
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
path: artifacts

0 comments on commit 01ed0c2

Please sign in to comment.