Skip to content

Report tool name to the server better #183

Report tool name to the server better

Report tool name to the server better #183

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Lint and Test
on:
push:
branches: [ "master" , "testing" ]
pull_request:
branches: [ "master" , "testing" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
python -m pip install -e .
- name: Lint with flake8
run: |
flake8 .
- name: Test with pytest
run: |
pytest