From 63f56aec0c494f4ed2b02c6b6bbd4b51baf04300 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sat, 22 Apr 2023 20:30:02 +0100 Subject: [PATCH] ci: re-order services and testing --- .github/workflows/rust.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index ca9d9d56..d41ff722 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -26,15 +26,15 @@ jobs: with: command: build + - name: Run services in background + run: | + docker-compose -f docker-compose.db.yml up -d + - name: Run cargo test uses: actions-rs/cargo@v1 with: command: test - - name: Run services in background - run: | - docker-compose -f docker-compose.db.yml up -d - - name: Run cargo test (with MongoDB) uses: actions-rs/cargo@v1 env: