Skip to content

Inform

Inform #77

Workflow file for this run

# These tests require that BorgBackup be installed,
# which is not available on GitHub Actions.
name: Inform
on: [push, pull_request]
jobs:
check-bats-version:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.6", "3.x"]
max-parallel: 6
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-node@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Borg
run: sudo apt install borgbackup
- name: Install packages
run: |
python -m pip install --upgrade pip
pip install .
pip install tox
pip install coveralls
- name: Run tests
run: tox
- name: Report test coverage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
run: coveralls