Comments (12)
Few comments from me:
- yes we need CI/CD!
- Flake8/PEP8 - yes, please! (the current tabs are ugly and killing my editor) - my next task after Python3 is merged would be to fix all files in this regard.
- regarding the current tox setup - my impression is that many things are tested multiple times which cost time, we might want to clean this to optimize waiting time at merge time but can be a 2nd step
- it would be nice to have a test coverage measurement tool (I think it's not too bad, but actually no clue)
from rdiff-backup.
Yes, code coverage is a good idea and it should be possible to have with Tox (see e.g. https://www.rfk.id.au/blog/entry/testing-better-coverage-tox/).
I have now activated https://travis-ci.org/rdiff-backup/rdiff-backup but there is no real .travis.yml file done yet.
from rdiff-backup.
First PR filed as #96
from rdiff-backup.
Second step will be running full Tox suite. WIP at https://github.com/rdiff-backup/rdiff-backup/tree/feature/travis-ci-tox
from rdiff-backup.
I have been playing around with different approaches to Travis-CI at https://travis-ci.org/rdiff-backup/rdiff-backup/builds using just one big job, or a matrix, or stages. I am not sure what route to take here. Does anybody have comments? @ikus060 maybe?
from rdiff-backup.
from rdiff-backup.
I think I will settle with this "user experience":
from rdiff-backup.
The steps look good to me, without exactly knowing what is behind each of them. Are you able to test each Python version from 3.5 till 3.8?
from rdiff-backup.
You can see it at https://travis-ci.org/rdiff-backup/rdiff-backup/builds and followg the links to the commits or view the whole WIP branch at https://github.com/rdiff-backup/rdiff-backup/tree/feature/travis-ci-tox
ATM the goal is just to get the tests pass so we can prevent new regressions from sneaking in, and then we can start to expand the tests, the Python versions and the platforms later on.
from rdiff-backup.
Could we close this ticket ? Looking at the current Travis pipeline everything is good to me. If anything is missing we should probably create a separate tickets that are more specific.
from rdiff-backup.
I think we should first add at least all relevant versions of Python (3.5 to 3.8) before we do this. It's a small thing, adding other platforms and the automated generation of binaries would need to go into another issue. What do you think?
from rdiff-backup.
ok, I will start working on travis build to add other version. But seriously, if it's not working for 3.5 or 3.6, I'm fine to only support py3.7.
- adding other platforms see #105 should cover Windows
- automated generation of binaries, just created #188
from rdiff-backup.
Related Issues (20)
- [BUG] ActionListTest.test_action_listincrements fails in sufficiently-negative-from-UTC timezones HOT 1
- Is it possible to use rdiff-backup without being installed on remote systems? HOT 1
- [BUG] Test failures HOT 8
- [BUG] Getting deprication warning of usage of old command line interface despite already using new HOT 1
- [BUG] Compressed file ended before the end-of-stream marker was reached HOT 4
- [BUG] Building fails in timezone UTC+3 HOT 4
- Remove directory from backup without rdiff-backup-delete present? HOT 2
- Backupninja spits individual file warnings HOT 5
- [ENH] Option to limit total size using remove increments HOT 1
- [BUG] DOC: Link broken on Fuse link
- Attempt to backup arbitrary files and dirs HOT 2
- [BUG] Version 2.2.6-1 warns about deprecated interface HOT 1
- How to pause a backup to Continue later HOT 1
- [BUG] 2.2.6 Unconditionally warns when api-version <= 200 HOT 3
- Understanding permission error[?] HOT 1
- [BUG] rdiff-backup fails to build with Python 3.13: Missing <unistd.h> declaration HOT 1
- [BUG] rdiff-backup chokes on non-ASCII characters in group (and user?) names HOT 1
- [BUG] Homebrew contains unreleased version 2.4.0 of rdiff-backup HOT 3
- [BUG] pyproject.toml license field should be GPL-2.0-or-later
- [ENH] make tox.ini only write to readable places with --current-env HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdiff-backup.