From bc32777632a53bc0b9c4072ffdbfcd1863bc8a57 Mon Sep 17 00:00:00 2001 From: Naian <126972030+nain-F49FF806@users.noreply.github.com> Date: Mon, 13 Nov 2023 14:52:22 +0100 Subject: [PATCH] refactor: update ci as per move Signed-off-by: Naian <126972030+nain-F49FF806@users.noreply.github.com> --- .github/workflows/main.yml | 10 +++++----- .github/workflows/mediator.pr.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a199336485..e44f1740d7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -374,13 +374,13 @@ jobs: - name: "Run wrapper integration tests" run: (cd wrappers/node && npm run test:integration) - name: "Install vcxagent-core dependencies" - run: (cd agents/node/vcxagent-core && npm install) + run: (cd aries/agents/node/vcxagent-core && npm install) - name: "Run demo" - run: (cd agents/node/vcxagent-core && AGENCY_URL=http://localhost:8080 npm run demo) + run: (cd aries/agents/node/vcxagent-core && AGENCY_URL=http://localhost:8080 npm run demo) - name: "Run demo with revocation" - run: (cd agents/node/vcxagent-core && AGENCY_URL=http://localhost:8080 npm run demo:revocation) + run: (cd aries/agents/node/vcxagent-core && AGENCY_URL=http://localhost:8080 npm run demo:revocation) - name: "Run integration tests" - run: (cd agents/node/vcxagent-core && AGENCY_URL=http://localhost:8080 npm run test:integration) + run: (cd aries/agents/node/vcxagent-core && AGENCY_URL=http://localhost:8080 npm run test:integration) @@ -431,7 +431,7 @@ jobs: run: | if [[ "$PUBLISH_VERSION" ]] then - NPMJS_TOKEN=${{ secrets.NPMJS_TOKEN }} PUBLISH_VERSION=${{ env.PUBLISH_VERSION }} ./agents/node/vcxagent-core/publish.sh + NPMJS_TOKEN=${{ secrets.NPMJS_TOKEN }} PUBLISH_VERSION=${{ env.PUBLISH_VERSION }} ./aries/agents/node/vcxagent-core/publish.sh else echo "New version was not defined, skipping release." fi diff --git a/.github/workflows/mediator.pr.yml b/.github/workflows/mediator.pr.yml index e93633ea6d..e383c94023 100644 --- a/.github/workflows/mediator.pr.yml +++ b/.github/workflows/mediator.pr.yml @@ -8,7 +8,7 @@ on: branches: - "**" paths: - - 'agents/rust/mediator/**' + - 'aries/agents/rust/mediator/**' env: DOCKER_BUILDKIT: 1 @@ -51,6 +51,6 @@ jobs: # uses: Swatinem/rust-cache@v2 run: cargo install sqlx-cli - name: Setup database - run: DATABASE_URL=${MYSQL_URL} sqlx migrate run --source agents/rust/mediator/mediation/migrations + run: DATABASE_URL=${MYSQL_URL} sqlx migrate run --source aries/agents/rust/mediator/mediation/migrations - name: "Run mediator integration tests" run: cargo run --bin mediator & sleep 5 && cargo test --verbose --package mediator -- --nocapture; \ No newline at end of file