Skip to content

Commit

Permalink
Merge branch 'main' into prod-bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
mvadari authored Oct 31, 2023
2 parents 9f34ee8 + a0b6b20 commit 2e60a8b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
test:
name: Test
runs-on: ubuntu-latest
runs-on: [self-hosted, heavy]
timeout-minutes: 10
strategy:
matrix:
Expand All @@ -34,18 +34,17 @@ jobs:
path: /home/runner/.local
key: dotlocal-${{ matrix.python-version }}-${{ env.POETRY_VERSION }}

- name: Install Python + Retrieve Poetry dependencies from cache
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install poetry
if: steps.cache-poetry.outputs.cache-hit != 'true'
run: |
curl -sSL https://install.python-poetry.org/ | python - --version ${{ env.POETRY_VERSION }}
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install Python + Retrieve Poetry dependencies from cache
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"

- name: Display Python version
run: |
python -c "import sys; print(sys.version)"
Expand Down
2 changes: 1 addition & 1 deletion xbridge_cli/server/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
)
)

_DOCKER_COMPOSE = ["docker", "compose", "-f", _DOCKER_COMPOSE_FILE]
_DOCKER_COMPOSE = ["docker-compose", "-f", _DOCKER_COMPOSE_FILE]

_START_UP_TIME = 30 # seconds
_WAIT_INCREMENT = 0.5 # seconds
Expand Down

0 comments on commit 2e60a8b

Please sign in to comment.