feat: Lithuanian ESO operator datagram reading #345
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: Tests | |
| on: | |
| push: ~ | |
| pull_request: ~ | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 # Don't run forever when stale | |
| strategy: | |
| matrix: | |
| python-version: | |
| - '3.10' | |
| - '3.11' | |
| - '3.12' | |
| - '3.13' | |
| - '3.14' | |
| name: Python ${{ matrix.python-version }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build container image | |
| run: | | |
| docker build \ | |
| --build-arg PYTHON_VERSION=${{ matrix.python-version }} \ | |
| -f .github/container/Containerfile-CI \ | |
| -t dsmr-parser-test \ | |
| . | |
| - name: Run tests in container | |
| run: | | |
| docker run --name test-container \ | |
| dsmr-parser-test | |
| - name: Export coverage from container | |
| run: | | |
| docker cp test-container:/app/coverage.xml coverage.xml | |
| docker rm test-container | |
| - name: Code coverage upload | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| files: coverage.xml |