Fixing yolov10 documentation #200
Workflow file for this run
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: Test package install - inference-cli | |
on: | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
permissions: | |
id-token: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v3 | |
- name: 🐍 Set up Python 3.9 to create wheels | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: 🛞 Create Wheels | |
run: | | |
make create_wheels | |
- name: 🐍 Set up Python ${{ matrix.python-version }} to test package install process | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: 📦 Installing `inference` package... | |
run: pip install ./dist/inference_cli-*-py3-none-any.whl | |
- name: 🧪 Testing package installation | |
working-directory: "/" | |
run: | | |
python -c "import os; import platform; print(f'Python version: {platform.python_version()}'); print(f'CWD: {os.getcwd()}')" | |
inference --help | |