-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 1011 Bytes
/
Copy pathsecurity-tests.yml
File metadata and controls
36 lines (32 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Security tests
on:
push:
pull_request:
permissions:
contents: read
concurrency:
group: security-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
security:
runs-on: ubuntu-24.04
timeout-minutes: 45
steps:
- name: Check out repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: "3.12"
- name: Install firmware toolchain
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
gcc-arm-none-eabi \
binutils-arm-none-eabi \
libnewlib-arm-none-eabi \
make
- name: Install dependencies
run: python -m pip install -r requirements-security.txt
- name: Run full local security profile
run: make test-security PYTHON=python SECURITY_FUZZ_ITERATIONS=10000