Skip to content

Commit 1e4ac9a

Browse files
authored
Revert "Testing workflow hotfix "
1 parent 7e58fcb commit 1e4ac9a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,25 @@ jobs:
1010
deploy:
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Checkout Repository
14+
uses: actions/checkout@v4
15+
- name: Start PostgreSQL
16+
run: |
17+
docker run --name postgres-test -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=test_db -p 5432:5432 -d postgres:15
18+
19+
- name: Set TEST_DATABASE_URL
20+
run: echo "TEST_DATABASE_URL=postgres://postgres:postgres@localhost:5432/test_db" >> $GITHUB_ENV
21+
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+
1332
- uses: shuttle-hq/deploy-action@main
1433
with:
1534
name: "root"

0 commit comments

Comments
 (0)