diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7bc4312..bd86c76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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