Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CI

CI #1728

Workflow file for this run

name: CI
on:
schedule:
- cron: "0 16 * * 1,4"
push:
paths:
- 'gget/**'
- 'tests/**'
# Allow manual trigger
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
python: ['3.11', '3.12']
os: ['ubuntu-22.04']
name: Test on Python ${{ matrix.python }}
steps:
- name: Checkout branch
uses: actions/checkout@main
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Install dependencies
run: pip install -r requirements.txt && pip install -r dev-requirements.txt
- name: Run tests
run: pytest -ra -v --tb=long --maxfail=5 --durations=10 --cov=gget --cov-report=term-missing tests