diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8716d1a0..7c05b2d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 - \ No newline at end of file