-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Test ci flow * Modify requirements * Split workflow * Unify steps * Grant permissions to db folder * Fix commands * Remove unnecessary commands * Missing newline * Address feedback * Address more feedback * Update action version
- Loading branch information
1 parent
b37da19
commit 55482b5
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# This workflow will install Claudia after installing Python dependencies, installs rippled and launches a network. | ||
|
||
name: Claudia | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
launch_network_with_claudia: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
version: [ 10, 11, 12, x ] | ||
name: "Install Python 3.${{ matrix.version }}" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "Set up Python 3.${{ matrix.version }}" | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.${{ matrix.version }}" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install wheel | ||
pip install -r ./src/claudia/requirements.txt | ||
- name: Install Claudia locally | ||
run: | | ||
python3 setup.py sdist bdist_wheel | ||
pip install dist/*.tar.gz | ||
- name: Install rippled with Claudia | ||
run: | | ||
claudia rippled install --rippled_branch master | ||
- name: Start network with Claudia | ||
run: | | ||
claudia local-mainnet start | ||
- name: Stop network with Claudia | ||
run: | | ||
claudia local-mainnet stop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
CLAUDIA_VERSION = "0.1b1" | ||
CLAUDIA_VERSION = "0.2" |