Skip to content

ci: Configure APT mirror #603

ci: Configure APT mirror

ci: Configure APT mirror #603

Workflow file for this run

name: Test on Windows
on:
push:
paths-ignore:
- docs/**
branches-ignore:
- dependabot/**
- deepsource**
pull_request:
paths-ignore:
- docs/**
permissions:
contents: read
jobs:
test-win:
runs-on: windows-latest
strategy:
matrix:
requirements: [latest]
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: requirements/*.txt
- name: Update pip
run: python -m pip install --upgrade pip wheel
- name: Install pip dependencies
run: python -m pip install -r requirements/test.txt
- name: Install
run: pip install .
- name: pytest
run: make test
- name: Coverage
run: |
coverage xml
- uses: codecov/codecov-action@v3
with:
name: ${{ runner.os }}, Python ${{ matrix.python-version }}, ${{ matrix.requirements }}