forked from MarlinFirmware/Marlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bugfix-2.1.x' into mike-anet-evo
* bugfix-2.1.x: (111 commits) [cron] Bump distribution date (2024-04-25) 🩹 IA-Creality minor cleanup 🩹 Simple IA-Creality babystep patch 🚸 Fix duplicate temperature report (MarlinFirmware#26952) [cron] Bump distribution date (2024-04-24) ✏️ MPCTEMP_START => MPC_STARTED (MarlinFirmware#27002) 🔧 BIQU MicroProbe V2 pull-up warning (MarlinFirmware#27008) 🎨 Format pins which fail validation (MarlinFirmware#27007) ✅ CI - Validate Pins Formatting (MarlinFirmware#26996) [cron] Bump distribution date (2024-04-23) 🎨 Clean up after recent PRs [cron] Bump distribution date (2024-04-22) 🐛 Fix Flags<N> data storage width (MarlinFirmware#26995) ✅ Add additional unit tests for types.h (MarlinFirmware#26994) ✅ Unit test improvements (MarlinFirmware#26993) 🔧 Add RAMPS TMC SPI pins when !TMC_USE_SW_SPI (MarlinFirmware#26960) 🐛 Fix PID upon entering PID_FUNCTIONAL_RANGE (MarlinFirmware#26926) [cron] Bump distribution date (2024-04-21) 🎨Match unit test folder structure to code (MarlinFirmware#26990) ✅ Skip compile tests when editing unit tests (MarlinFirmware#26991) ...
- Loading branch information
Showing
344 changed files
with
5,853 additions
and
2,154 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# | ||
# ci-unit-tests.yml | ||
# Build and execute unit tests to catch functional issues in code | ||
# | ||
|
||
name: CI - Unit Tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- bugfix-2.1.x | ||
# Cannot be enabled on 2.1.x until it contains the unit test framework | ||
#- 2.1.x | ||
paths-ignore: | ||
- config/** | ||
- data/** | ||
- docs/** | ||
- '**/*.md' | ||
push: | ||
branches: | ||
- bugfix-2.1.x | ||
# Cannot be enabled on 2.1.x until it contains the unit test framework | ||
#- 2.1.x | ||
paths-ignore: | ||
- config/** | ||
- data/** | ||
- docs/** | ||
- '**/*.md' | ||
|
||
jobs: | ||
# This runs all unit tests as a single job. While it should be possible to break this up into | ||
# multiple jobs, they currently run quickly and finish long before the compilation tests. | ||
run_unit_tests: | ||
name: Unit Test | ||
# These tests will only be able to run on the bugfix-2.1.x branch, until the next release | ||
# pulls them into additional branches. | ||
if: github.repository == 'MarlinFirmware/Marlin' | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out the PR | ||
uses: actions/checkout@v4 | ||
|
||
- name: Cache pip | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: Cache PlatformIO | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.platformio | ||
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} | ||
|
||
- name: Select Python 3.9 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.9' | ||
architecture: 'x64' | ||
|
||
- name: Install PlatformIO | ||
run: | | ||
pip install -U platformio | ||
pio upgrade --dev | ||
pio pkg update --global | ||
- name: Run All Unit Tests | ||
run: | | ||
make unit-test-all-local |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# | ||
# ci-validate-pins.yml | ||
# Validate that all of the pins files are unchanged by pinsformat.py | ||
# | ||
|
||
name: CI - Validate Pins Files | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- bugfix-2.1.x | ||
# Cannot be enabled on 2.1.x until it contains the unit test framework | ||
#- 2.1.x | ||
paths: | ||
- 'Marlin/src/pins/*/**' | ||
push: | ||
branches: | ||
- bugfix-2.1.x | ||
# Cannot be enabled on 2.1.x until it contains the unit test framework | ||
#- 2.1.x | ||
paths: | ||
- 'Marlin/src/pins/*/**' | ||
|
||
jobs: | ||
validate_pins_files: | ||
name: Validate Pins Files | ||
if: github.repository == 'MarlinFirmware/Marlin' | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out the PR | ||
uses: actions/checkout@v4 | ||
|
||
- name: Cache pip | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: Select Python 3.9 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.9' | ||
architecture: 'x64' | ||
|
||
- name: Validate all pins files | ||
run: | | ||
make validate-pins -j |
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
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
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
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
Oops, something went wrong.