tweaks #47
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: Assimilate | |
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-get install libacl1-dev libacl1 | |
sudo apt-get install libssl-dev | |
sudo apt-get install liblz4-dev libzstd-dev libxxhash-dev | |
sudo apt-get install build-essential | |
sudo apt-get install pkg-config python3-pkgconfig | |
sudo apt-get install libfuse3-dev fuse3 | |
- 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 |