Update batteryMonitor.cpp #135
This file contains hidden or 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
| name: Build | |
| on: | |
| push: | |
| branches: | |
| - 'Development' | |
| - 'BugFix' | |
| paths: | |
| - '**.c' | |
| - '**.cpp' | |
| - '**.ino' | |
| - '**.h' | |
| - '**.hpp' | |
| - '.fqbn' | |
| - 'build.txt' | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - '**.c' | |
| - '**.cpp' | |
| - '**.ino' | |
| - '**.h' | |
| - '**.hpp' | |
| - '.fqbn' | |
| - 'build.txt' | |
| jobs: | |
| build: | |
| name: CD/CI chain | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - name: Checkout repository contents | |
| uses: actions/checkout@v4 | |
| - name: Install Arduino CLI | |
| uses: arduino/setup-arduino-cli@v2 | |
| - name: Build CD/CI code | |
| shell: pwsh | |
| run: ${{ github.workspace }}/CD_CI/Build.ps1 -RootPath ${{ github.workspace }} | |
| - name: Run automated tests | |
| shell: pwsh | |
| run: ${{ github.workspace }}/CD_CI/Run.ps1 -RootPath ${{ github.workspace }} | |
| - name: Show test coverage | |
| shell: pwsh | |
| run: ${{ github.workspace }}/CD_CI/ComputeTestCoverage.ps1 -RootPath ${{ github.workspace }} | |
| - name: Create symbolic links for Arduino build | |
| shell: pwsh | |
| run: ${{ github.workspace }}/src/MakeSymLinks.ps1 -RootPath ${{ github.workspace }} | |
| - name: Install Arduino dependencies | |
| shell: pwsh | |
| run: ${{ github.workspace }}/src/InstallBuildDependencies.ps1 | |
| - name: Build for Arduino | |
| shell: pwsh | |
| run: ${{ github.workspace }}/src/ArduinoBuild.ps1 -RootPath ${{ github.workspace }} | |
| - name: Look for broken links | |
| shell: pwsh | |
| run: ${{ github.workspace }}/RevealBrokenLinks.ps1 -RootPath ${{ github.workspace }} | |
| - name: Display statistics | |
| shell: pwsh | |
| run: ${{ github.workspace }}/ShowCodeStatistics.ps1 -RootPath ${{ github.workspace }} |