Skip to content

Commit

Permalink
Fixed build workflow and push codecov reports
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeuchler committed Oct 12, 2020
1 parent e94e2bb commit 5c32c8a
Show file tree
Hide file tree
Showing 21 changed files with 33 additions and 355 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch

on:
push:
branches: [ dev ]
branches:
- dev
tags:
- "v*-beta.*"
- "v*-rc.*"
pull_request:
branches: [ dev ]
branches:
- dev

env:
MORYX_OPTIMIZE_CODE: "false"
MORYX_BUILD_CONFIG: "Release"
MORYX_BUILDNUMBER: ${{github.run_number}}
MORYX_BRANCH: "dev" #TODO: ${{github.ref}} parse branch name
MORYX_CODECOV_SECRET: ${{secrets.CODECOV_TOKEN}}
MORYX_NUGET_APIKEY: ${{secrets.MYGET_TOKEN}}
MORYX_PACKAGE_TARGET: "https://www.myget.org/F/moryx/api/v2/package"

jobs:
Build:
Expand Down Expand Up @@ -51,15 +55,10 @@ jobs:
shell: pwsh
run: ./Build.ps1 -IntegrationTests

- name: Cover Report
shell: pwsh
run: ./Build.ps1 -CoverReport

- name: Upload test results
uses: actions/upload-artifact@v1
- name: Codecov
uses: codecov/codecov-action@v1
with:
name: test-results
path: artifacts/Tests
files: '*.OpenCover.xml'
Publish:
needs: [Test]
if: (github.event_name == 'push')
Expand All @@ -73,10 +72,6 @@ jobs:
- name: Setup NuGet.exe
uses: NuGet/[email protected]

- name: Set assembly versions
shell: pwsh
run: ./Build.ps1 -SetAssemblyVersion

- name: Build
shell: pwsh
run: ./Build.ps1 -Build
Expand Down
5 changes: 0 additions & 5 deletions Build.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
param (
[switch]$SetAssemblyVersion,
[switch]$Build,

[switch]$SmokeTests,
Expand All @@ -23,10 +22,6 @@ $MsBuildVersion = "latest";
# Initialize Toolkit
Invoke-Initialize -Version (Get-Content "VERSION");

if ($SetAssemblyVersion) {
Set-AssemblyVersions
}

if ($Build) {
Invoke-Build ".\AbstractionLayer.sln"
Invoke-Build ".\AbstractionLayer.UI.sln"
Expand Down
14 changes: 0 additions & 14 deletions GlobalAssemblyInfo.cs

This file was deleted.

12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,15 @@
<a href="https://www.myget.org/feed/Packages/moryx">
<img src="https://img.shields.io/myget/moryx/v/Moryx.AbstractionLayer" alt="MyGet">
</a>
<a href="https://codecov.io/gh/PHOENIXCONTACT/MORYX-AbstractionLyer/coverage.svg?branch=dev">
<img alt="Coverage" src="https://codecov.io/gh/PHOENIXCONTACT/MORYX-AbstractionLyer/coverage.svg?branch=dev" />
</a>
<a href="https://github.com/PHOENIXCONTACT/MORYX-AbstractionLayer/blob/dev/LICENSE">
<img src="https://img.shields.io/github/license/PHOENIXCONTACT/MORYX-AbstractionLayer" alt="License">
</a>
<a href="https://gitter.im/MORYX-Industry/Framework?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge">
<img src="https://badges.gitter.im/MORYX-Industry/Framework.svg" alt="Gitter">
</a>
<a href="https://github.com/PHOENIXCONTACT/MORYX-AbstractionLayer/pulls">
<img src="https://img.shields.io/github/issues-pr/PHOENIXCONTACT/MORYX-AbstractionLayer" alt="GitHub pull requests">
</a>
<a href="https://github.com/PHOENIXCONTACT/MORYX-AbstractionLayer/issues">
<img src="https://img.shields.io/github/issues/PHOENIXCONTACT/MORYX-AbstractionLayer" alt="GitHub issues">
</a>
<a href="https://github.com/PHOENIXCONTACT/MORYX-AbstractionLayer/graphs/contributors">
<img src="https://img.shields.io/github/contributors-anon/PHOENIXCONTACT/MORYX-AbstractionLayer" alt="GitHub contributors">
</a>
</p>

# MORYX AbstractionLayer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Moryx" Version="3.0.0-dev.138" />
<PackageReference Include="Moryx.TestTools.UnitTest" Version="3.0.0-dev.138" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@

<ItemGroup>
<PackageReference Include="Moryx.ClientFramework" Version="3.0.0-dev.41" />
<PackageReference Include="Caliburn.Micro" Version="3.2.0" />
<PackageReference Include="Castle.Windsor" Version="5.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
19 changes: 0 additions & 19 deletions src/Moryx.AbstractionLayer.UI/Moryx.AbstractionLayer.UI.nuspec

This file was deleted.

11 changes: 0 additions & 11 deletions src/Moryx.AbstractionLayer.UI/app.config

This file was deleted.

13 changes: 0 additions & 13 deletions src/Moryx.AbstractionLayer.UI/packages.config

This file was deleted.

1 change: 0 additions & 1 deletion src/Moryx.Notifications/Moryx.Notifications.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Moryx" Version="3.0.0-dev.138" />
<PackageReference Include="Moryx.Runtime" Version="3.0.0-dev.138" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Moryx" Version="3.0.0-dev.138" />
<PackageReference Include="Moryx.Runtime" Version="3.0.0-dev.138" />
<PackageReference Include="Moryx.Runtime.Wcf" Version="3.0.0-dev.138" />
</ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion src/Moryx.Products.Model/Moryx.Products.Model.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Moryx" Version="3.0.0-dev.138" />
<PackageReference Include="Moryx.Model.PostgreSQL" Version="3.0.0-dev.138" />
</ItemGroup>

Expand Down
13 changes: 0 additions & 13 deletions src/Moryx.Products.UI/app.config

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Moryx" Version="3.0.0-dev.138" />
<PackageReference Include="Moryx.Tools.Wcf" Version="3.0.0-dev.138" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Moryx" Version="3.0.0-dev.138" />
<PackageReference Include="Moryx.Model.PostgreSQL" Version="3.0.0-dev.138" />
<PackageReference Include="Moryx.Runtime" Version="3.0.0-dev.138" />
<PackageReference Include="Moryx.Runtime.Wcf" Version="3.0.0-dev.138" />
Expand Down
26 changes: 0 additions & 26 deletions src/Moryx.Resources.UI.Interaction/app.config

This file was deleted.

18 changes: 0 additions & 18 deletions src/StartProject.UI/App.config

This file was deleted.

55 changes: 0 additions & 55 deletions src/StartProject.UI/Properties/AssemblyInfo.cs

This file was deleted.

Loading

0 comments on commit 5c32c8a

Please sign in to comment.