Skip to content

Move setup to pyproject toml #57

Move setup to pyproject toml

Move setup to pyproject toml #57

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
name: Test
jobs:
test:
runs-on: ubuntu-latest
# needs: flake8-lint
services:
selenium:
image: selenium/standalone-chrome
name: Test
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v5
- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Run tests
run: uv run pytest tests
# coverage:
# runs-on: ubuntu-latest
# needs: flake8-lint
# services:
# selenium:
# image: selenium/standalone-chrome
# steps:
# - uses: actions/checkout@master
# - name: Setup Python
# uses: actions/setup-python@master
# with:
# python-version: 3.7
# - name: Install dependencies
# run: pip install -r requirements-test.txt
# - name: Generate coverage report
# run: pytest --cov=selenium_datatable --cov-report=xml
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v2
# with:
# directory: ./coverage/reports/
# fail_ci_if_error: true
# files: ./coverage.xml
# flags: unittests
# name: codecov-umbrella
# path_to_write_report: ./coverage/codecov_report.txt
# verbose: true
# flake8-lint:
# runs-on: ubuntu-latest
# name: Lint
# steps:
# - name: Check out source repository
# uses: actions/checkout@v2
# - name: Set up Python environment
# uses: actions/setup-python@v2
# with:
# python-version: "3.8"
# - name: flake8 Lint
# uses: py-actions/flake8@v2
# with:
# max-line-length: "120"
# path: ./selenium_datatable