pyproject: unpin some minor versions (#43) #202
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 | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Install dependencies | |
shell: bash | |
run: poetry install --ansi --no-interaction | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
- name: Run tests | |
run: poetry run pytest | |
- name: Check CLI | |
run: poetry run nxontology_ml --help |