Skip to content

Replaced outdated datasources #54

Replaced outdated datasources

Replaced outdated datasources #54

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
jobs:
tests-legacy:
name: Tests on Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["2.7", "3.5", "3.6", "3.7"]
container:
image: python:${{ matrix.python-version }}-slim-buster
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
pip install --upgrade pip
pip install "poetry==1.1.15"
poetry install
- name: Do lint
run: poetry run flake8 .
- name: Do tests
run: poetry run pytest --cov uchecker -v
tests-modern:
name: Tests on Python ${{ matrix.python-version }}
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@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip poetry
poetry install
- name: Do lint
run: poetry run flake8 .
- name: Do tests
run: poetry run pytest --cov uchecker -v