forked from jmug/stoatchat
ci: re-order services and testing
This commit is contained in:
8
.github/workflows/rust.yaml
vendored
8
.github/workflows/rust.yaml
vendored
@@ -26,15 +26,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
|
|
||||||
|
- name: Run services in background
|
||||||
|
run: |
|
||||||
|
docker-compose -f docker-compose.db.yml up -d
|
||||||
|
|
||||||
- name: Run cargo test
|
- name: Run cargo test
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
|
|
||||||
- name: Run services in background
|
|
||||||
run: |
|
|
||||||
docker-compose -f docker-compose.db.yml up -d
|
|
||||||
|
|
||||||
- name: Run cargo test (with MongoDB)
|
- name: Run cargo test (with MongoDB)
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user