Skip to content

drop python 3.6 from test environment #25

drop python 3.6 from test environment

drop python 3.6 from test environment #25

Workflow file for this run

name: dev-tests
on:
push:
branches: [master, dev]
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 3
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requires.ci.txt
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest --cov=bsedata --no-cov-on-fail --cov-report=xml -n 4
- name: Upload to codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: true