Skip to content

Add Python 3.14 and remove 3.6 and 3.7 #53

Add Python 3.14 and remove 3.6 and 3.7

Add Python 3.14 and remove 3.6 and 3.7 #53

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
name: Test
jobs:
test:
runs-on: ubuntu-20.04
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@v2
- name: Setup python
id: test
uses: actions/setup-python@v1
with:
python-version: "${{ matrix.python-version }}"
- name: Install dependencies
run: pip install -r requirements-test.txt
- name: Test
run: pytest tests -vv
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