Skip to content

new feature: tmp bare repo: show position for DM|FM if SHA1 #746

new feature: tmp bare repo: show position for DM|FM if SHA1

new feature: tmp bare repo: show position for DM|FM if SHA1 #746

Workflow file for this run

name: tests
on:
push:
branches: [main]
tags: v*
pull_request:
jobs:
run_tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Prepare project for development
run: |
python -m pip install poetry
python -m poetry install
- name: Setup tests
run: |
# tests run git commands, and they need
# a proper git identity for that
git config --global user.email "[email protected]"
git config --global user.name "Tasty Test"
# Note: for some reason pytest --cov fails on Windows
- name: Run tests (unix)
if: ${{ matrix.os != 'windows-latest' }}
run: poetry run pytest --cov . --cov-report term --numprocesses auto
- name: Run tests (windows)
if: ${{ matrix.os == 'windows-latest' }}
run: poetry run pytest --numprocesses auto