Skip to content

Commit

Permalink
Update CI task
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisreimann committed Apr 12, 2024
1 parent a538669 commit 3117ca3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ on:
branches:
- master
pull_request:

branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout the code
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive

# Install .NET Core SDK
- name: Setup .NET Core
Expand All @@ -27,11 +30,10 @@ jobs:

- name: Wait for BTCPay to start
run: |
while ! curl -s http://localhost:14142/a[ov1/health > /dev/null; do
while ! curl -s http://localhost:14142/api/v1/health > /dev/null; do
echo "Waiting for BTCPay to start..."
sleep 1
done
- name: Run tests
run: dotnet test

0 comments on commit 3117ca3

Please sign in to comment.