-
Notifications
You must be signed in to change notification settings - Fork 24
Feed: Temp replace taskSeq with asyncSeq #213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
d8bfc8d
remove task seq because of resource leak issues
nordfjord 03bbbdc
fix msgdb test
nordfjord 603f59f
remove unused file
nordfjord c567e04
run the tests in a ci pipeline
nordfjord 5783a5e
use correct image
nordfjord eae13eb
manual msgdb install
nordfjord 592e4c4
specify restore sln
nordfjord 88ca745
use dotnet v6
nordfjord 4757733
try with kafka too
nordfjord ca7c6dc
configuration
nordfjord d63920d
no need to restore
nordfjord c6c9c03
stop trying to wrangle msbuild and just test the project
nordfjord cbe3ece
make it build on net6
nordfjord b9b69e7
try using ip rather than hostname
nordfjord c845ced
don't try the kafka tests
nordfjord 73d031c
sorf
nordfjord 0686099
missed a spot
nordfjord da71efb
tests
nordfjord File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| name: Run tests | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - '**' | ||
| tags-ignore: | ||
| - '*' | ||
|
|
||
| jobs: | ||
| build-test-deploy: | ||
| name: Build and test | ||
| runs-on: ubuntu-latest | ||
| services: | ||
| postgres: | ||
| image: postgres:12 | ||
| env: | ||
| POSTGRES_HOST_AUTH_METHOD: trust | ||
| ports: | ||
| # will assign a random free host port | ||
| - 5432:5432 | ||
| # needed because the postgres container does not provide a healthcheck | ||
| options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
|
|
||
| - uses: actions/setup-dotnet@v1 | ||
| with: | ||
| dotnet-version: '6.0.x' | ||
|
|
||
| - name: Install message-db | ||
| env: | ||
| MESSAGE_DB_VERSION: 1.3.0 | ||
| PGHOST: localhost | ||
| PGUSER: postgres | ||
| PGPASSWORD: postgres | ||
| PGPORT: '5432' | ||
| run: | | ||
| mkdir -p /tmp/eventide | ||
| curl -L https://github.com/message-db/message-db/archive/refs/tags/v$MESSAGE_DB_VERSION.tar.gz -o /tmp/eventide/message-db.tgz | ||
| tar -xf /tmp/eventide/message-db.tgz --directory /tmp/eventide | ||
| (cd /tmp/eventide/message-db-${MESSAGE_DB_VERSION}/database && ./install.sh) | ||
|
|
||
| - name: Restore | ||
| run: dotnet restore Propulsion.sln | ||
|
|
||
| - name: Build | ||
| run: dotnet build Propulsion.sln --configuration Release --no-restore | ||
|
|
||
| - name: Run Tests | ||
| env: | ||
| MSG_DB_CONNECTION_STRING: "Host=localhost; Database=message_store; Port=5432; Username=message_store" | ||
| CHECKPOINT_CONNECTION_STRING: "Host=localhost; Database=message_store; Port=5432; Username=postgres; Password=postgres" | ||
| run: dotnet test Propulsion.sln --no-restore --verbosity minimal |
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
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
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
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
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
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
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
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
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
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
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.