diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..7359145 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,30 @@ +name: Build + +on: + pull_request: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + dotnet: [ '8.x' ] + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: ${{ matrix.dotnet }} + dotnet-quality: 'ga' + + - name: Build solution + working-directory: src + run: dotnet build + + - name: Run unit-tests + working-directory: src + run: dotnet test diff --git a/README.md b/README.md index 0ada449..a822888 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,10 @@ # AEMO.MDFF +[![Build](https://github.com/ahanoff/aemo-mdff-net/actions/workflows/build.yaml/badge.svg)](https://github.com/ahanoff/aemo-mdff-net/actions/workflows/build.yaml) + Parser for Australian Energy Market Operator (AEMO) Meter Data File Format (MDFF) specification + ## References - https://www.aemo.com.au/ diff --git a/src/AEMO.MDFF.sln b/src/AEMO.MDFF.sln new file mode 100644 index 0000000..1a471c5 --- /dev/null +++ b/src/AEMO.MDFF.sln @@ -0,0 +1,10 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + EndGlobalSection +EndGlobal