mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2026-03-14 21:19:43 +01:00
Add GitHub workflow file to run tools/check_float_test_names.py
but only when one of the relevant files changes
This commit is contained in:
parent
5a1e10662b
commit
709c527d60
1 changed files with 23 additions and 0 deletions
23
.github/workflows/check_float_tests.yml
vendored
Normal file
23
.github/workflows/check_float_tests.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Check floating-point tests
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- .github/workflows/check_float_tests.yml
|
||||
- tools/check_float_test_names.py
|
||||
- src/rp2_common/pico_float/include/pico/float.h
|
||||
- src/rp2_common/pico_double/include/pico/double.h
|
||||
- test/pico_float_test/custom_float_funcs_test.c
|
||||
- test/pico_float_test/custom_double_funcs_test.c
|
||||
|
||||
jobs:
|
||||
check-float-tests:
|
||||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check float tests
|
||||
run: |
|
||||
tools/check_float_test_names.py
|
||||
Loading…
Add table
Reference in a new issue