Skip to content

Commit

Permalink
ci: 🎡 fix variable
Browse files Browse the repository at this point in the history
  • Loading branch information
severo committed Apr 29, 2022
1 parent 02a075b commit e3f9a0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ jobs:
- name: Install dependencies
run: poetry install
- name: Create mongoDB Docker container
run: sudo docker run -d -p {{ matrix.mongo-port }}:27017 mongo:latest
run: sudo docker run -d -p ${{ matrix.mongo-port }}:27017 mongo:latest
- name: Run unit tests
env:
ROWS_MIN_NUMBER: 2
ROWS_MAX_NUMBER: 5
MONGO_CACHE_DATABASE: datasets_preview_cache_test
MONGO_QUEUE_DATABASE: datasets_preview_queue_test
MONGO_URL: mongodb://localhost:{{ matrix.mongo-port }}
MONGO_URL: mongodb://localhost:${{ matrix.mongo-port }}
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: poetry run python -m pytest -s --cov --cov-report xml:coverage.xml --cov-report=term tests
- uses: codecov/codecov-action@v2
Expand Down

0 comments on commit e3f9a0e

Please sign in to comment.