tests(pd): automated migration testing #16
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
--- | |
name: Migration test | |
on: | |
pull_request: | |
jobs: | |
migration_test: | |
runs-on: buildjet-16vcpu-ubuntu-2204 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
fetch-tags: true | |
fetch-depth: 0 | |
- name: Load rust cache | |
uses: astriaorg/[email protected] | |
with: | |
# Cache the git worktree for faster builds | |
workspaces: |- | |
. | |
./deployments/worktrees/v0.73.1 | |
- name: Install cometbft binary | |
run: ./deployments/scripts/install-cometbft | |
- name: Install process-compose | |
run: >- | |
sh -c "$(curl --location https://raw.githubusercontent.com/F1bonacc1/process-compose/main/scripts/get-pc.sh)" -- | |
-d -b ~/bin | |
- name: Run migration test | |
run: | | |
export PATH="$HOME/bin:$PATH" | |
./deployments/scripts/migration-test v0.73.1 |