diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8e8896ca..66d0120d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,31 +1,12 @@ name: Update Branch on: - push: + push: + branches: + - main + - test jobs: - test: - runs-on: windows-latest - steps: - - name: Check out repository code - uses: actions/checkout@v3 - with: - ref: ${{ github.head_ref }} - - name: pester_tests - id: pester_tests - uses: zyborg/pester-tests-report@v1 - with: - include_paths: pester - report_name: Winutil_Tests - report_title: Winutil_Tests - github_token: ${{ secrets.GITHUB_TOKEN }} - tests_fail_step: true - - name: dump test results - shell: pwsh - run: | - Write-Host 'Total Tests Executed...: ${{ steps.pester_tests.outputs.total_count }}' - Write-Host 'Total Tests PASSED.....: ${{ steps.pester_tests.outputs.passed_count }}' - Write-Host 'Total Tests FAILED.....: ${{ steps.pester_tests.outputs.failed_count }}' build: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test.yaml b/.github/workflows/unittests.yaml similarity index 88% rename from .github/workflows/test.yaml rename to .github/workflows/unittests.yaml index f31be666..273c4a3f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/unittests.yaml @@ -1,6 +1,7 @@ -name: Pester +name: Unit Tests -on: [push] +on: + push: jobs: test: @@ -16,6 +17,8 @@ jobs: with: include_paths: pester github_token: ${{ secrets.GITHUB_TOKEN }} + tests_fail_step: true + skip_check_run: true - name: dump test results shell: pwsh run: | diff --git a/.gitignore b/.gitignore index 2b8b1668..af9d3355 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,7 @@ winutil.pdb *.zip .vs/ *.psd* -pester.ps1 \ No newline at end of file +pester.ps1 +Microsoft.UI.Xaml* +winget.msixbundle +license1.xml \ No newline at end of file diff --git a/MainWindow.xaml b/MainWindow.xaml index fbc75089..931799dd 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -8,6 +8,78 @@ Background="#777777" WindowStartupLocation="CenterScreen" Title="Chris Titus Tech's Windows Utility" Height="800" Width="1200"> + + + @@ -232,9 +304,12 @@