From 0b04385260eea5af023be8c7312363d50962a874 Mon Sep 17 00:00:00 2001 From: Konstantin Ponomarev Date: Wed, 13 Aug 2025 17:32:32 +0300 Subject: [PATCH] feat: version in [project] and off test --- .github/workflows/tests.yml | 94 ++++++++++++++++++------------------- pyproject.toml | 5 +- 2 files changed, 51 insertions(+), 48 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9d2f475..4e45c3e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,47 +1,47 @@ -name: build -on: [push, pull_request, workflow_dispatch] -jobs: - lint: - name: lint - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - - run: python -m pip install --upgrade pip wheel - - run: pip install tox tox-gh-actions - - run: tox -eflake8 - - run: tox -edocs - tests: - name: tests - strategy: - matrix: - os: [windows-latest, macos-latest, ubuntu-latest] - python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.10'] - exclude: - # pypy3 currently fails to run on Windows - - os: windows-latest - python: pypy-3.10 - fail-fast: false - runs-on: ${{ matrix.os }} - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python }} - - run: python -m pip install --upgrade pip wheel - - run: pip install tox tox-gh-actions - - run: tox - coverage: - name: coverage - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - - run: python -m pip install --upgrade pip wheel - - run: pip install tox tox-gh-actions - - run: tox - - uses: codecov/codecov-action@v3 - with: - files: ./coverage.xml - fail_ci_if_error: true - token: ${{ secrets.CODECOV_TOKEN }} +#name: build +#on: [push, pull_request, workflow_dispatch] +#jobs: +# lint: +# name: lint +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# - uses: actions/setup-python@v5 +# - run: python -m pip install --upgrade pip wheel +# - run: pip install tox tox-gh-actions +# - run: tox -eflake8 +# - run: tox -edocs +# tests: +# name: tests +# strategy: +# matrix: +# os: [windows-latest, macos-latest, ubuntu-latest] +# python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.10'] +# exclude: +# # pypy3 currently fails to run on Windows +# - os: windows-latest +# python: pypy-3.10 +# fail-fast: false +# runs-on: ${{ matrix.os }} +# steps: +# - uses: actions/checkout@v4 +# - uses: actions/setup-python@v5 +# with: +# python-version: ${{ matrix.python }} +# - run: python -m pip install --upgrade pip wheel +# - run: pip install tox tox-gh-actions +# - run: tox +# coverage: +# name: coverage +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# - uses: actions/setup-python@v5 +# - run: python -m pip install --upgrade pip wheel +# - run: pip install tox tox-gh-actions +# - run: tox +# - uses: codecov/codecov-action@v3 +# with: +# files: ./coverage.xml +# fail_ci_if_error: true +# token: ${{ secrets.CODECOV_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index bf2402b..3aa7895 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,9 @@ +[project] +version = "0.0.0" + [tool.poetry] name = "fastsio" -version = "5.13.1.dev0" +version = "0.0.0" description = "light and typization Socket.IO server and client for Python" license = "MIT" readme = "README.md"