Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
w1am committed Jan 6, 2025
1 parent bd6b10f commit 0c2d0e3
Show file tree
Hide file tree
Showing 347 changed files with 5,062 additions and 14,058 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ on:
required: false
type: string
default: eventstore-ce/eventstoredb-ce
test:
required: true
type: string
# test:
# required: true
# type: string

jobs:
test:
Expand All @@ -29,7 +29,8 @@ jobs:
os: [ ubuntu-latest ]
configuration: [ release ]
runs-on: ${{ matrix.os }}
name: ${{ inputs.test }} (${{ matrix.os }}, ${{ matrix.framework }})
# name: ${{ inputs.test }} (${{ matrix.os }}, ${{ matrix.framework }})
name: (${{ matrix.os }}, ${{ matrix.framework }})
env:
CLOUDSMITH_CICD_USER: ${{ secrets.CLOUDSMITH_CICD_USER }}
steps:
Expand Down Expand Up @@ -63,4 +64,11 @@ jobs:
dotnet test --configuration ${{ matrix.configuration }} --blame \
--logger:"GitHubActions;report-warnings=false" --logger:"console;verbosity=normal" \
--framework ${{ matrix.framework }} \
test/EventStore.Client.${{ inputs.test }}.Tests
test/EventStore.Client.Tests
# run: |
# sudo ./gencert.sh
# dotnet test --configuration ${{ matrix.configuration }} --blame \
# --logger:"GitHubActions;report-warnings=false" --logger:"console;verbosity=normal" \
# --framework ${{ matrix.framework }} \
# test/EventStore.Client.${{ inputs.test }}.Tests
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ jobs:
fail-fast: false
matrix:
docker-tag: [ ci, lts, previous-lts ]
test: [ Streams, PersistentSubscriptions, Operations, UserManagement, ProjectionManagement ]
# test: [ Streams, PersistentSubscriptions, Operations, UserManagement, ProjectionManagement ]
name: Test CE (${{ matrix.docker-tag }})
with:
docker-tag: ${{ matrix.docker-tag }}
docker-image: eventstore-ce/eventstoredb-ce
test: ${{ matrix.test }}
ee:
uses: ./.github/workflows/base.yml
if: ${{ github.repository_owner == 'EventStore' }}
strategy:
fail-fast: false
matrix:
docker-tag: [ 24.2.0-jammy ]
test: [ Plugins ]
name: Test EE (${{ matrix.docker-tag }})
with:
docker-tag: ${{ matrix.docker-tag }}
docker-image: eventstore-ee/eventstoredb-commercial
test: ${{ matrix.test }}
secrets:
CLOUDSMITH_CICD_USER: ${{ secrets.CLOUDSMITH_CICD_USER }}
CLOUDSMITH_CICD_TOKEN: ${{ secrets.CLOUDSMITH_CICD_TOKEN }}
# test: ${{ matrix.test }}
# ee:
# uses: ./.github/workflows/base.yml
# if: ${{ github.repository_owner == 'EventStore' }}
# strategy:
# fail-fast: false
# matrix:
# docker-tag: [ 24.2.0-jammy ]
# test: [ Plugins ]
# name: Test EE (${{ matrix.docker-tag }})
# with:
# docker-tag: ${{ matrix.docker-tag }}
# docker-image: eventstore-ee/eventstoredb-commercial
# test: ${{ matrix.test }}
# secrets:
# CLOUDSMITH_CICD_USER: ${{ secrets.CLOUDSMITH_CICD_USER }}
# CLOUDSMITH_CICD_TOKEN: ${{ secrets.CLOUDSMITH_CICD_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/dispatch-ce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ on:
jobs:
test:
uses: ./.github/workflows/base.yml
strategy:
fail-fast: false
matrix:
test: [ Streams, PersistentSubscriptions, Operations, UserManagement, ProjectionManagement ]
# strategy:
# fail-fast: false
# matrix:
# test: [ Streams, PersistentSubscriptions, Operations, UserManagement, ProjectionManagement ]
name: Test CE (${{ inputs.docker-tag }})
with:
docker-tag: ${{ inputs.docker-tag }}
Expand Down
58 changes: 29 additions & 29 deletions .github/workflows/dispatch-ee.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
name: Dispatch EE

on:
workflow_dispatch:
inputs:
docker-tag:
description: "Docker tag"
required: true
type: string
docker-image:
description: "Docker image"
required: true
type: string

jobs:
test:
uses: ./.github/workflows/base.yml
strategy:
fail-fast: false
matrix:
test: [ Plugins ]
name: Test EE (${{ inputs.docker-tag }})
with:
docker-tag: ${{ inputs.docker-tag }}
docker-image: ${{ inputs.docker-image }}
test: ${{ matrix.test }}
secrets:
CLOUDSMITH_CICD_USER: ${{ secrets.CLOUDSMITH_CICD_USER }}
CLOUDSMITH_CICD_TOKEN: ${{ secrets.CLOUDSMITH_CICD_TOKEN }}
#name: Dispatch EE
#
#on:
# workflow_dispatch:
# inputs:
# docker-tag:
# description: "Docker tag"
# required: true
# type: string
# docker-image:
# description: "Docker image"
# required: true
# type: string
#
#jobs:
# test:
# uses: ./.github/workflows/base.yml
## strategy:
## fail-fast: false
## matrix:
## test: [ Plugins ]
# name: Test EE (${{ inputs.docker-tag }})
# with:
# docker-tag: ${{ inputs.docker-tag }}
# docker-image: ${{ inputs.docker-image }}
# test: ${{ matrix.test }}
# secrets:
# CLOUDSMITH_CICD_USER: ${{ secrets.CLOUDSMITH_CICD_USER }}
# CLOUDSMITH_CICD_TOKEN: ${{ secrets.CLOUDSMITH_CICD_TOKEN }}
Loading

0 comments on commit 0c2d0e3

Please sign in to comment.