chore: some ci files tidied
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
This commit is contained in:
parent
159c507d7f
commit
c0d5a7fd25
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -25,5 +25,5 @@ jobs:
|
|||
pip install .
|
||||
pip install pytest
|
||||
|
||||
- name: 🧪 Test
|
||||
- name: 🧪 PyTest
|
||||
run: "python -m pytest ./test"
|
||||
|
|
|
|||
Loading…
Reference in New Issue