Upgrade dependencies (PowerShell 7.4 SDK, .NET 8, and more) #17
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: Run tests | |
on: | |
push: | |
branches: | |
- main | |
- dajustp/add-gh-action-tests | |
paths-ignore: [ '**.md' ] | |
pull_request: | |
branches: | |
- main | |
- dajustp/add-gh-action-tests | |
paths-ignore: [ '**.md' ] | |
env: | |
AzureWebJobsStorage: UseDevelopmentStorage=true | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: 'Install .NET 3.1' | |
run: | | |
Import-Module ".\pipelineUtilities.psm1" -Force | |
Install-Dotnet | |
- name: 'Build' | |
run: ./build.ps1 -Configuration Release | |
# Install Azurite | |
- name: Set up Node.js (needed for Azurite) | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' # Azurite requires at least Node 18 | |
- name: Install Azurite | |
run: npm install -g azurite | |
- name: Run E2E tests | |
run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 & ./test/E2E/Start-E2ETest.ps1 -NoBuild |