Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 43 additions & 7 deletions .github/workflows/E2ETest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
working-directory: test/e2e/Tests
run: dotnet test --filter AzureStorage!=Skip

e2e-azurestorage-windows:
runs-on: windows-latest
e2e-azurestorage-macos:
runs-on: macos-latest
env:
E2E_TEST_DURABLE_BACKEND: 'AzureStorage'
steps:
Expand All @@ -74,7 +74,7 @@ jobs:
- name: Setup E2E tests
shell: pwsh
run: |
.\test\e2e\Tests\build-e2e-test.ps1
./test/e2e/Tests/build-e2e-test.ps1

- name: Build
working-directory: test/e2e/Tests
Expand All @@ -85,12 +85,30 @@ jobs:
run: dotnet test --filter AzureStorage!=Skip

e2e-mssql:
runs-on: ubuntu-latest
runs-on: macos-latest
env:
E2E_TEST_DURABLE_BACKEND: "MSSQL"
steps:
- uses: actions/checkout@v4

- name: Install Docker
run: |
brew install --cask docker
if xattr /Applications/Docker.app | grep -q com.apple.quarantine; then
sudo xattr -d com.apple.quarantine /Applications/Docker.app
fi
until [ -d "/Applications/Docker.app" ]; do
echo "Waiting for Docker.app to be installed..."
sleep 3
done

open -a Docker || echo "Warning: Could not open Docker app immediately, continuing..."

while ! docker info > /dev/null 2>&1; do
echo "Waiting for Docker daemon to start..."
sleep 5
done

- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
Expand All @@ -108,7 +126,7 @@ jobs:
- name: Setup E2E tests
shell: pwsh
run: |
.\test\e2e\Tests\build-e2e-test.ps1 -StartMSSqlContainer
./test/e2e/Tests/build-e2e-test.ps1 -StartMSSqlContainer

- name: Build
working-directory: test/e2e/Tests
Expand All @@ -119,12 +137,30 @@ jobs:
run: dotnet test --filter MSSQL!=Skip

e2e-dts:
runs-on: ubuntu-latest
runs-on: macos-latest
env:
E2E_TEST_DURABLE_BACKEND: "azureManaged"
steps:
- uses: actions/checkout@v4

- name: Install Docker
run: |
brew install --cask docker
if xattr /Applications/Docker.app | grep -q com.apple.quarantine; then
sudo xattr -d com.apple.quarantine /Applications/Docker.app
fi
until [ -d "/Applications/Docker.app" ]; do
echo "Waiting for Docker.app to be installed..."
sleep 3
done

open -a Docker || echo "Warning: Could not open Docker app immediately, continuing..."

while ! docker info > /dev/null 2>&1; do
echo "Waiting for Docker daemon to start..."
sleep 5
done

- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
Expand All @@ -138,7 +174,7 @@ jobs:
- name: Setup E2E tests
shell: pwsh
run: |
.\test\e2e\Tests\build-e2e-test.ps1 -StartDTSContainer
./test/e2e/Tests/build-e2e-test.ps1 -StartDTSContainer

- name: Build
working-directory: test/e2e/Tests
Expand Down
20 changes: 5 additions & 15 deletions .github/workflows/smoketest-dotnet-isolated-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,11 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: macos-latest
steps:
- uses: actions/checkout@v2

# Install .NET versions
- name: Set up .NET Core 3.1
uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'

- name: Set up .NET Core 2.1
uses: actions/setup-dotnet@v3
with:
dotnet-version: '2.1.x'

- name: Set up .NET Core 6.x
uses: actions/setup-dotnet@v3
with:
Expand Down Expand Up @@ -82,24 +72,24 @@ jobs:
# ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 -HttpStartPath api/StartHelloCitiesTyped

- name: Run smoke tests (Hello Cities)
shell: pwsh
shell: bash
run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 &
cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 &
./test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 -HttpStartPath api/StartHelloCitiesUntyped

- name: Run smoke tests (Process Exit)
shell: pwsh
shell: bash
run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 &
./test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 -HttpStartPath api/durable_HttpStartProcessExitOrchestrator

- name: Run smoke tests (Timeout)
shell: pwsh
shell: bash
run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 &
cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 &
./test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 -HttpStartPath api/durable_HttpStartTimeoutOrchestrator

- name: Run smoke tests (OOM)
shell: pwsh
shell: bash
run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 &
cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 &
./test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 -HttpStartPath api/durable_HttpStartOOMOrchestrator
24 changes: 22 additions & 2 deletions .github/workflows/smoketest-java8-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,29 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v2

- name: Install Docker
run: |
brew install --cask docker
if xattr /Applications/Docker.app | grep -q com.apple.quarantine; then
sudo xattr -d com.apple.quarantine /Applications/Docker.app
fi

until [ -d "/Applications/Docker.app" ]; do
echo "Waiting for Docker.app to be installed..."
sleep 3
done

open -a Docker || echo "Warning: Could not open Docker app immediately, continuing..."

while ! docker info > /dev/null 2>&1; do
echo "Waiting for Docker daemon to start..."
sleep 5
done

- name: Set up JDK 8
uses: actions/setup-java@v2
with:
Expand All @@ -33,5 +53,5 @@ jobs:
run: |
wget -P test/SmokeTests/OOProcSmokeTests/durableJava/build/azure-functions/durableJava/lib/ "https://repo.maven.apache.org/maven2/com/microsoft/azure/functions/azure-functions-java-library/2.0.1/azure-functions-java-library-2.0.1.jar" --show-progress
- name: Run V4 Java 8 Smoke Test
shell: bash
run: test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/OOProcSmokeTests/durableJava/Dockerfile -HttpStartPath api/StartOrchestration
shell: pwsh
20 changes: 19 additions & 1 deletion .github/workflows/smoketest-mssql-inproc-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,31 @@ on:
jobs:
build:

runs-on: ubuntu-latest
runs-on: macos-latest
env:
SA_PASSWORD: ${{ secrets.SA_PASSWORD }}

steps:
- uses: actions/checkout@v4

- name: Install Docker
run: |
brew install --cask docker
if xattr /Applications/Docker.app | grep -q com.apple.quarantine; then
sudo xattr -d com.apple.quarantine /Applications/Docker.app
fi
until [ -d "/Applications/Docker.app" ]; do
echo "Waiting for Docker.app to be installed..."
sleep 3
done

open -a Docker || echo "Warning: Could not open Docker app immediately, continuing..."

while ! docker info > /dev/null 2>&1; do
echo "Waiting for Docker daemon to start..."
sleep 5
done

- name: Run V4 .NET in-proc w/ MSSQL Smoke Test
run: test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/BackendSmokeTests/MSSQL/Dockerfile -HttpStartPath api/DurableFunctionsHttpStart -ContainerName MSSQLApp -SetupSQLServer
shell: pwsh
21 changes: 20 additions & 1 deletion .github/workflows/smoketest-netherite-inproc-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,28 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v2

- name: Install Docker
run: |
brew install --cask docker
if xattr /Applications/Docker.app | grep -q com.apple.quarantine; then
sudo xattr -d com.apple.quarantine /Applications/Docker.app
fi
until [ -d "/Applications/Docker.app" ]; do
echo "Waiting for Docker.app to be installed..."
sleep 3
done

open -a Docker || echo "Warning: Could not open Docker app immediately, continuing..."

while ! docker info > /dev/null 2>&1; do
echo "Waiting for Docker daemon to start..."
sleep 5
done

- name: Run V4 .NET in-proc w/ Netherite Smoke Test
run: test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/BackendSmokeTests/Netherite/Dockerfile -HttpStartPath api/DurableFunctionsHttpStart -ContainerName NetheriteApp
shell: pwsh
21 changes: 20 additions & 1 deletion .github/workflows/smoketest-node20-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,28 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v2

- name: Install Docker
run: |
brew install --cask docker
if xattr /Applications/Docker.app | grep -q com.apple.quarantine; then
sudo xattr -d com.apple.quarantine /Applications/Docker.app
fi
until [ -d "/Applications/Docker.app" ]; do
echo "Waiting for Docker.app to be installed..."
sleep 3
done

open -a Docker || echo "Warning: Could not open Docker app immediately, continuing..."

while ! docker info > /dev/null 2>&1; do
echo "Waiting for Docker daemon to start..."
sleep 5
done

- name: Run V4 Node 20 Smoke Test
run: test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/OOProcSmokeTests/durableJS/Dockerfile -HttpStartPath api/DurableFunctionsHttpStart
shell: pwsh
21 changes: 20 additions & 1 deletion .github/workflows/smoketest-python37-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,28 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v2

- name: Install Docker
run: |
brew install --cask docker
if xattr /Applications/Docker.app | grep -q com.apple.quarantine; then
sudo xattr -d com.apple.quarantine /Applications/Docker.app
fi
until [ -d "/Applications/Docker.app" ]; do
echo "Waiting for Docker.app to be installed..."
sleep 3
done

open -a Docker || echo "Warning: Could not open Docker app immediately, continuing..."

while ! docker info > /dev/null 2>&1; do
echo "Waiting for Docker daemon to start..."
sleep 5
done

- name: Run V4 Python 3.7 Smoke Test
run: test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/OOProcSmokeTests/durablePy/Dockerfile -HttpStartPath api/DurableFunctionsHttpStart -ContainerName pyApp
shell: pwsh
11 changes: 3 additions & 8 deletions .github/workflows/validate-build-analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
build:
runs-on: windows-latest
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
Expand All @@ -28,15 +28,10 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3

- name: Set up .NET Core 3.1
- name: Set up .NET 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'

- name: Set up .NET Core 2.1
uses: actions/setup-dotnet@v3
with:
dotnet-version: '2.1.x'
dotnet-version: '6.0.x'

- name: Restore dependencies
run: dotnet restore $solution
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/validate-build-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
build:
runs-on: windows-latest
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
Expand All @@ -28,15 +28,10 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3

- name: Set up .NET Core 3.1
- name: Set up .NET 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'

- name: Set up .NET Core 2.1
uses: actions/setup-dotnet@v3
with:
dotnet-version: '2.1.x'
dotnet-version: '6.0.x'

- name: Restore dependencies
run: dotnet restore $solution
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/validate-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
build:
runs-on: windows-latest
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
Expand All @@ -28,15 +28,10 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3

- name: Set up .NET Core 3.1
- name: Set up .NET 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'

- name: Set up .NET Core 2.1
uses: actions/setup-dotnet@v3
with:
dotnet-version: '2.1.x'
dotnet-version: '6.0.x'

- name: Restore dependencies
run: dotnet restore $solution
Expand Down
Loading
Loading