Skip to content

Commit

Permalink
Run tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
passsy committed Jul 27, 2024
1 parent 0a51cff commit 7e11752
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,26 @@ jobs:
- name: Run tests sidekick_core
run: cd sidekick_core && dart test

core_test_windows:
runs-on: windows-2022

steps:
- name: Set up Chocolatey
run: Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- name: Install Dart SDK
run: choco install dart-sdk --version 3.0.0
- name: Set up Dart in PATH
shell: powershell
run: |
$dartSdkPath = (Get-Command dart).Source
$dartSdkDir = Split-Path -Parent $dartSdkPath
echo "::add-path::$dartSdkDir"
- uses: actions/checkout@v1
- name: Install dependencies sidekick_core
run: cd sidekick_core && dart pub get --no-precompile
- name: Run tests sidekick_core
run: cd sidekick_core && dart test

vault_test:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 7e11752

Please sign in to comment.