Skip to content

Commit c9a8124

Browse files
authored
Merge pull request #31 from swayam-agrahari/master
Fix:Test failures by adding Dockerized Postgres
2 parents 9031f52 + 5ce2067 commit c9a8124

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: .github/workflows/deploy.yml

+11
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,20 @@ jobs:
1919
- name: Set TEST_DATABASE_URL
2020
run: echo "TEST_DATABASE_URL=postgres://postgres:postgres@localhost:5432/test_db" >> $GITHUB_ENV
2121

22+
- name: Install Rust and Cargo
23+
run: |
24+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
25+
source $HOME/.cargo/env
26+
27+
- name: Run Tests
28+
run: cargo test
29+
30+
31+
2232
- uses: shuttle-hq/deploy-action@main
2333
with:
2434
name: "root"
35+
no-test: "true"
2536
deploy-key: ${{ secrets.SHUTTLE_API_KEY }}
2637
secrets: |
2738
ROOT_SECRET = '${{ secrets.ROOT_SECRET }}'

0 commit comments

Comments
 (0)