Skip to content

Merge pull request #23 from borgbackup/misc #53

Merge pull request #23 from borgbackup/misc

Merge pull request #23 from borgbackup/misc #53

Workflow file for this run

# badge: https://github.com/borgbackup/borgstore/workflows/CI/badge.svg?branch=master
name: CI
on:
push:
branches: [ master ]
paths:
- '**.py'
- '**.pyx'
- '**.cpp'
- '**.yml'
- '**.toml'
- '**.ini'
- 'requirements.d/*'
pull_request:
branches: [ master ]
paths:
- '**.py'
- '**.pyx'
- '**.cpp'
- '**.yml'
- '**.toml'
- '**.ini'
- 'requirements.d/*'
jobs:
linux:
strategy:
fail-fast: true
matrix:
include:
- os: ubuntu-22.04
python-version: '3.9'
toxenv: py39
env:
TOXENV: ${{ matrix.toxenv }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
# just fetching 1 commit is not enough for setuptools-scm, so we fetch all
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Python requirements
run: |
python -m pip install --upgrade pip setuptools
pip install -r requirements.d/dev.txt
- name: Install borghash
run: pip install -ve .
- name: run tox env
run: tox --skip-missing-interpreters