enhance emporg-overdue to support remote repositories #223
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These tests require that BorgBackup be installed, | |
# which is not available on GitHub Actions. | |
name: Emborg | |
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 |