Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions .github/workflows/assigner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

steps:

- name: Check out source code

Check warning on line 32 in .github/workflows/assigner.yml

View workflow job for this annotation

GitHub Actions / compliance-check / Run compliance checks on patch series (PR)

YAMLLint (indentation)

.github/workflows/assigner.yml:32 wrong indentation: expected 4 but found 6
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Set up Python
Expand All @@ -53,19 +53,4 @@
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
FLAGS="-v"
FLAGS+=" -o ${{ github.event.repository.owner.login }}"
FLAGS+=" -r ${{ github.event.repository.name }}"
FLAGS+=" -M MAINTAINERS.yml"
if [ "${{ github.event_name }}" = "pull_request_target" ]; then
FLAGS+=" -P ${{ github.event.pull_request.number }}"
elif [ "${{ github.event_name }}" = "issues" ]; then
FLAGS+=" -I ${{ github.event.issue.number }}"
elif [ "${{ github.event_name }}" = "schedule" ]; then
FLAGS+=" --modules"
else
echo "Unknown event: ${{ github.event_name }}"
exit 1
fi

python3 scripts/set_assignees.py $FLAGS
python --version
25 changes: 19 additions & 6 deletions .github/workflows/backport_issue_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,29 @@ jobs:
- name: Check out source code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install Python dependencies
- name: Set up Python
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: 3.12

- name: cache-pip
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ~/.cache/pip
key: ${{ hashFiles('scripts/requirements-actions.txt') }}
restore-keys: |
${{ hashFiles('scripts/requirements-actions.txt') }}

- name: install-packages
run: |
pip install -U pygithub
pip install -r scripts/requirements-actions.txt

- name: Run backport issue checker
env:
GITHUB_TOKEN: ${{ secrets.ZB_GITHUB_TOKEN }}
run: |
./scripts/release/list_backports.py \
-o ${{ github.event.repository.owner.login }} \
-r ${{ github.event.repository.name }} \
-b ${{ github.event.pull_request.base.ref }} \
-p ${{ github.event.pull_request.number }}
-o ${{ github.event.repository.owner.login }} \
-r ${{ github.event.repository.name }} \
-b ${{ github.event.pull_request.base.ref }} \
-p ${{ github.event.pull_request.number }}
14 changes: 10 additions & 4 deletions .github/workflows/coding_guidelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,22 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: 3.12

- name: cache-pip
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/coding_guidelines.yml') }}
key: ${{ hashFiles('scripts/requirements-actions.txt') }}
restore-keys: |
${{ hashFiles('scripts/requirements-actions.txt') }}

- name: Install python dependencies
- name: install-packages
run: |
pip install unidiff
pip install sh
pip install -r scripts/requirements-actions.txt

- name: Install Packages
run: |
Expand Down
20 changes: 17 additions & 3 deletions .github/workflows/footprint-tracking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,30 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y python3-venv
pip install -U gitpython

- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: 3.12

- name: cache-pip
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ~/.cache/pip
key: ${{ hashFiles('scripts/requirements-actions.txt') }}
restore-keys: |
${{ hashFiles('scripts/requirements-actions.txt') }}

- name: install-packages
run: |
pip install -r scripts/requirements-actions.txt

- name: Environment Setup
run: |
echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
Expand Down Expand Up @@ -97,7 +113,6 @@ jobs:
run: |
python3 -m venv .venv
. .venv/bin/activate
pip install awscli
aws s3 sync --quiet footprint_data/ s3://testing.zephyrproject.org/footprint_data/

- name: Transform Footprint data to Twister JSON reports
Expand All @@ -116,7 +131,6 @@ jobs:
ELASTICSEARCH_INDEX: ${{ vars.FOOTPRINT_TRACKING_INDEX }}
run: |
shopt -s globstar
pip install -U elasticsearch
run_date=`date --iso-8601=minutes`
python3 ./scripts/ci/upload_test_results_es.py -r ${run_date} \
--flatten footprint \
Expand Down
1 change: 1 addition & 0 deletions kernel/init.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

/*
* Copyright (c) 2010-2014 Wind River Systems, Inc.
*
Expand Down
15 changes: 15 additions & 0 deletions scripts/requirements-actions.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pygithub
junitparser
junit2html
gcovr
xlsxwriter
ijson
unidiff
sh
pytest
pyyaml
tox
awscli
elasticsearch
west>=0.14.0
setuptools>=70.2.0
Loading
Loading