From e0ceefa57355f81b307e3a272c96f726b4c87a47 Mon Sep 17 00:00:00 2001 From: Stanislav Kiriukhin <44553725+stkrizh@users.noreply.github.com> Date: Thu, 14 Mar 2024 22:22:57 +0400 Subject: [PATCH] Create conduit.yml --- .github/workflows/conduit.yml | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/conduit.yml diff --git a/.github/workflows/conduit.yml b/.github/workflows/conduit.yml new file mode 100644 index 0000000000..0525544e1d --- /dev/null +++ b/.github/workflows/conduit.yml @@ -0,0 +1,37 @@ +name: Conduit + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.11 + uses: actions/setup-python@v3 + with: + python-version: "3.11" + - name: Install poetry + uses: snok/install-poetry@v1.3.4 + with: + version: "1.4.2" + virtualenvs-create: false + - name: Install dependencies + run: poetry install --no-root + - name: Check code formatting with Ruff + run: ruff format --check + - name: Lint with Ruff + run: ruff check --output-format github + - name: Check typing with Mypy + run: mypy + - name: Test with Pytest + run: pytest ./tests/unit