nit #1055
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [ master, main, gpu, fix-ci ] | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python-version: | |
- '3.8.x' | |
# - '3.9.x' | |
# - '3.10.x' | |
# - '3.11.x' | |
# - '3.12.x' | |
os: | |
- ubuntu-latest | |
# - macos-latest | |
# - windows-latest | |
runs-on: ${{ matrix.os }} | |
name: Python ${{ matrix.python-version }} on ${{ matrix.os }} test | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Detailed disk usage in root | |
run: sudo du -sh /usr/* | |
# ls /dev/root -l | |
# - name: Install dependencies | |
# run: | | |
# python -m pip install poetry | |
# poetry config virtualenvs.create false | |
# poetry install --no-interaction --no-ansi --without docs | |
# - name: Install Test Dependencies | |
# run: pip install pytest pytest-md pytest-emoji | |
# - name: Check disk space after cache | |
# run: df -h | |
# - name: Run pytest | |
# uses: pavelzw/pytest-action@v2 | |
# with: | |
# verbose: true | |
# emoji: true | |
# job-summary: true | |
# report-title: 'FastEmbed Test Report' | |
# - name: Check disk space after cache | |
# run: df -h | |
# - name: Save models in cache | |
# uses: actions/cache@v3 | |
# with: | |
# path: models | |
# key: fastembed-models- | |
# - name: Test | |
# run: | | |
# ls -l | |
# ls ../ -l | |
# ls models -l | |
# - name: Check disk space after cache | |
# run: df -h | |