Skip to content

Commit

Permalink
ci: run e2e tests in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-hagemann committed Nov 28, 2023
1 parent fe5558d commit dc8f5e7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Build and test

on:
workflow_call:
Expand Down Expand Up @@ -47,3 +47,15 @@ jobs:
with:
name: ratings
path: target/release/ratings

- name: Install cargo-make
run: cargo install cargo-make

- name: Start Database
run: cargo make db-up

- name: Prepare environment file
run: cp example.env .env

- name: Run tests
run: cargo make full-test
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ concurrency:

jobs:
build:
uses: ./.github/workflows/build.yaml
uses: ./.github/workflows/build-and-test.yaml
cla:
uses: ./.github/workflows/cla.yaml
2 changes: 1 addition & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ concurrency:

jobs:
build:
uses: ./.github/workflows/build.yaml
uses: ./.github/workflows/build-and-test.yaml

0 comments on commit dc8f5e7

Please sign in to comment.