diff --git a/.github/workflows/django-test.yml b/.github/workflows/django-test.yml index 8c69a2e30..396372646 100644 --- a/.github/workflows/django-test.yml +++ b/.github/workflows/django-test.yml @@ -6,13 +6,13 @@ on: push: branches: [ "main" ] paths: ["api", "chat", "control", "robosats"] - pull_request: + pull_request_target: branches: [ "main" ] paths: ["api", "chat", "control", "robosats"] -# concurrency: -# group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' -# cancel-in-progress: true +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true jobs: build: @@ -22,7 +22,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.11"] + python-version: ["3.11.6"] # ,"3.12"] steps: - name: 'Checkout' @@ -35,11 +35,11 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - - name: 'Install LND gRPC Dependencies' + - name: 'Install LND/CLN gRPC Dependencies' run: bash ./scripts/generate_grpc.sh - name: 'Create .env File' run: | mv .env-sample .env - - name: 'Tests' + - name: 'Test' run: | - python manage.py test \ No newline at end of file + python3 manage.py test \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ac654aded..7ecf6f312 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,9 +38,9 @@ jobs: fi - # django-test: - # uses: RoboSats/robosats/.github/workflows/django-test.yml@main - # needs: check-versions + django-test: + uses: RoboSats/robosats/.github/workflows/django-test.yml@main + needs: check-versions frontend-build: uses: RoboSats/robosats/.github/workflows/frontend-build.yml@main