chore: some ci files tidied

Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
This commit is contained in:
Onuralp SEZER 2024-11-28 03:46:25 +03:00
parent 159c507d7f
commit c0d5a7fd25
No known key found for this signature in database
GPG Key ID: CF0835DFDF14CA38
3 changed files with 5 additions and 4 deletions

View File

@ -36,5 +36,8 @@ jobs:
- name: 🚀 Do Install the package Test
run: poetry install --with dev --extras metrics
- name: 🧪 Run the simple script
- name: 🧪 Run the Import test
run: poetry run python -c "import supervision; from supervision import assets; from supervision import metrics; print(supervision.__version__)"
- name: 🧪 Run the pytests
run: poetry run python -m pytest ./test

View File

@ -15,8 +15,6 @@ jobs:
uses: actions/checkout@v4
- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
# id based on python version
id: python-setup
with:
python-version: ${{ matrix.python-version }}
check-latest: true

View File

@ -25,5 +25,5 @@ jobs:
pip install .
pip install pytest
- name: 🧪 Test
- name: 🧪 PyTest
run: "python -m pytest ./test"