Merge pull request #20 from Doer-org/client-connect-server #100
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: ML Build Check | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
poetry-version: ["1.5.1"] | |
defaults: | |
run: | |
working-directory: ml | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install poetry | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: ${{ matrix.poetry-version }} | |
- name: Install dependencies | |
run: | | |
poetry install --no-root | |
- name: Run pytest | |
run: | | |
poetry run python -m pytest |