Skip to content

Commit

Permalink
[CI] Add env variables for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Blonteractor committed Jan 27, 2024
1 parent 8b0eb51 commit bb244c7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ name: CI
jobs:
checks:
runs-on: ubuntu-latest
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
PRIVATE_ENCRPYPTION_KEY: ${{ secrets.PRIVATE_ENCRPYPTION_KEY }}

steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -48,10 +52,9 @@ jobs:
- name: Tests
run: |
cargo test --release crud
cargo test --release api
cargo test --release bot
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
- name: Bootstrap fly
uses: superfly/flyctl-actions/setup-flyctl@master
Expand Down

0 comments on commit bb244c7

Please sign in to comment.