Skip to content

Commit

Permalink
ci: update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Aug 23, 2024
1 parent 8d7e7cf commit df4eb0f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:
- name: Run tests
run: |
fluentci run --wasm postgres start
cargo install sqlx-cli
cargo sqlx prepare
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo-binstall sqlx-cli -y
sqlx migrate run
cargo sqlx prepare
cargo test
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -32,3 +33,6 @@ jobs:
- name: Run build
run: |
fluentci run --wasm rust build
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DATABASE_URL: postgres://postgres@localhost/demo

0 comments on commit df4eb0f

Please sign in to comment.