Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

[pre-commit.ci] pre-commit autoupdate #47

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #47

Workflow file for this run

# Copyright 2023 Jan-Hendrik Ewers
# SPDX-License-Identifier: GPL-3.0-only
name: CI
on:
push:
branches: [master, dev]
pull_request:
workflow_dispatch:
jobs:
run-tests:
name: Run tests
runs-on: ${{ matrix.platform }}
strategy:
matrix:
python-version: ["3.11", "3.10", "3.9"]
platform: ["ubuntu-latest", "windows-latest", "macos-latest"]
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
cache: "pip"
python-version: ${{ matrix.python-version }}
cache-dependency-path: |
**/requirements*.txt
- name: Install pytest-extra-markers
run: |
python -m pip install ".[test]"
- name: Run tests
run: |
python -m pytest tests