diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aa97c35..1f3bf4b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -41,11 +41,7 @@ jobs: python -m pip install --upgrade pip pip install -e ".[dev]" - - name: Run unit tests - run: | - python -m pytest tests/ -v - - - name: Run integration tests + - name: Run tests run: | python -m pytest tests/ -v @@ -60,61 +56,3 @@ jobs: flags: unittests name: codecov-umbrella - lint: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.12' - cache: 'pip' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -e ".[dev]" - - # - name: Run linting - # run: | - # ruff check fasthttp/ - - # - name: Run type checking - # run: | - # mypy fasthttp/ --ignore-missing-imports - - benchmark: - runs-on: ubuntu-latest - if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.12' - cache: 'pip' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -e ".[dev]" pytest-benchmark - - - name: Run benchmarks - run: | - python -m pytest tests/benchmark/ --benchmark-only --benchmark-autosave - - - name: Store benchmark result - uses: benchmark-action/github-action-benchmark@v1 - with: - tool: 'pytest' - output-file-path: .github/benchmarks/benchmarks.json - github-token: ${{ secrets.GITHUB_TOKEN }} - auto-push: true - alert-threshold: '150%' - comment-on-alert: true