mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-14 11:26:24 +00:00
396b849076
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
name: "Test: Coordinator"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
push:
|
|
branches: [ "main" ]
|
|
paths: ["api", "chat", "control", "robosats"]
|
|
pull_request:
|
|
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
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
DEVELOPMENT: 1
|
|
strategy:
|
|
max-parallel: 4
|
|
matrix:
|
|
python-version: ["3.11"]
|
|
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: actions/checkout@v4
|
|
- name: 'Set up Python ${{ matrix.python-version }}'
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: 'Install Python Dependencies'
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -r requirements.txt
|
|
- name: 'Install LND gRPC Dependencies'
|
|
run: bash ./scripts/generate_grpc.sh
|
|
- name: 'Create .env File'
|
|
run: |
|
|
mv .env-sample .env
|
|
- name: 'Tests'
|
|
run: |
|
|
python manage.py test |