Skip to content

Commit

Permalink
add tests to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TakGN committed Jul 16, 2024
1 parent 5d7344c commit 4a17046
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,33 @@
tags:
- v0.**
jobs:
# test:
# name: cargo test
# runs-on: ubuntu-latest
# services:
# mongodb:
# image: mongo:latest
# ports:
# - 27017:27017
# options: >-
# --health-cmd="mongosh --eval 'db.adminCommand({ ping: 1 })'"
# --health-interval=30s
# --health-timeout=10s
# --health-retries=10
# redis:
# image: redis:latest
# ports:
# - 6379:6379
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@stable
# - uses: Swatinem/rust-cache@v2
# - run: cargo test --all-features
# env:
# BUNGEE_API_KEY: ${{ secrets.BUNGEE_API_KEY }}
# COINGECKO_API_KEY: ${{ secrets.COINGECKO_API_KEY }}
# COVALENT_API_KEY: ${{ secrets.COVALENT_API_KEY }}
# environment: Testing
test:
name: cargo test
runs-on: ubuntu-latest
services:
mongodb:
image: mongo:latest
ports:
- 27017:27017
options: >-
--health-cmd="mongosh --eval 'db.adminCommand({ ping: 1 })'"
--health-interval=30s
--health-timeout=10s
--health-retries=10
redis:
image: redis:latest
ports:
- 6379:6379
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test --all-features
env:
BUNGEE_API_KEY: ${{ secrets.BUNGEE_API_KEY }}
COINGECKO_API_KEY: ${{ secrets.COINGECKO_API_KEY }}
COVALENT_API_KEY: ${{ secrets.COVALENT_API_KEY }}
environment: Testing

container_img_build_push_gar:
# needs: [test]
Expand Down

0 comments on commit 4a17046

Please sign in to comment.