name: test

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.7, 3.8, 3.9, 3.10]
    steps:

    - uses: actions/checkout@v2

    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}

    - name: Install build dependencies
      run: |
        sudo apt-get install libcurl4-openssl-dev libxml2-dev libxslt-dev

    - name: Install dependencies
      run: |
        python -m pip install -U pip
        pip install -U -r requirements_dev.txt
        pip install -U -e .

    - name: Run tests
      run: |
        coverage run runtest.py --test-all

    - name: Upload coverage results
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      run: |
        coveralls --service=github

name: test

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ['3.7', '3.8', '3.9', '3.10']
    steps:

    - uses: actions/checkout@v2

    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}

    - name: Install build dependencies
      run: |
        sudo apt-get install libcurl4-openssl-dev libxml2-dev libxslt-dev

    - name: Install dependencies
      run: |
        python -m pip install -U pip
        pip install -U -r requirements_dev.txt
        pip install -U -e .

    - name: Run tests
      run: |
        coverage run runtest.py --test-all

    - name: Upload coverage results
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      run: |
        coveralls --service=github

Fix python versions in github CI
Fix python versions in github CI
