Sajith Sasidharan
ed92202762
Updates comments about GitHub cache action
2021-01-18 17:55:07 -05:00
Sajith Sasidharan
9e4ea0c491
Use fetch-depth of 0 with GitHub Actions
...
Using a fetch-depth of 0 should have the same effect as as `git fetch
--prune --unshallow` after doing a shallow checkout.
2021-01-18 17:54:17 -05:00
Sajith Sasidharan
99cca0ea8e
No need of upgrading pip on GitHub Actions
2021-01-18 13:38:09 -05:00
Sajith Sasidharan
adbe23fe7a
Add a note about pip version on GitHub Actions
2021-01-18 13:34:25 -05:00
Sajith Sasidharan
2a1a5cb0a5
GitHub Actions have sufficiently recent pip
...
At the time of writing this commit message, GitHub Actions offers pip
v20.3.3 for both ubuntu-latest and windows-latest, and pip v20.3.1 for
macos-latest. Those are sufficiently recent pip versions that have
"cache dir" sub-command.
2021-01-18 13:32:53 -05:00
Sajith Sasidharan
1f1a30095e
Get pip version for all three GitHub Actions OSes
2021-01-18 13:22:04 -05:00
Sajith Sasidharan
8bf068f991
What's the pip version on GitHub Actions?
...
There's no need of upgrading pip if GA offers a sufficiently new pip.
2021-01-18 13:19:33 -05:00
Sajith Sasidharan
f731159cd7
Install Python packages after setting up pip cache
2021-01-18 13:13:32 -05:00
Sajith Sasidharan
573ab8768b
Re-title "use pip cache" step in GitHub Actions
2021-01-18 11:08:56 -05:00
Sajith Sasidharan
27a122088c
Use pip cache on GitHub Actions
...
Using the method outlined in https://github.com/actions/cache/blob/main/examples.md#using-pip-to-get-cache-location
2021-01-18 11:02:55 -05:00
Sajith Sasidharan
fa1a8e8371
Upgrade pip used in GitHub Actions
...
From pip 20.1+ onward, "pip cache dir" can be used to find location of
pip cache, and this is useful across all three major OSes supported by
GitHub Actions.
2021-01-18 10:58:12 -05:00
Sajith Sasidharan
c8aab085d7
Re-introduce vcpython27 in GitHub Actions
...
Turns out that netifaces has not published a .whl package for Python
2.7 and 64-bit Windows.
2020-11-25 08:17:40 -05:00
Sajith Sasidharan
525f2201c6
Do not install vcpython27 during Windows CI steps
...
With zfec 1.5.4, wheel packages for Windows is available now.
Installing a compiler is no longer necessary.
2020-10-15 14:17:53 -04:00
Jean-Paul Calderone
e107e11079
Remove references to the bare "coverage" tox environment
...
* We stopped using Appveyor a while ago so entirely remove its configuration.
* There's no release step where coverage information is *examined* so why
collect it?
* Switch GitHub Actions config to py27-coverage tox environment
2020-08-27 10:37:50 -04:00
Sajith Sasidharan
9b68b484bd
Run integration tests on Windows on GitHub Actions
...
Integration tests are currently not run on Windows, because they
turned out to be a little unreliable: sometimes they fail, and when
that happens restarting the test would make things pass.
We will re-enable them and see what happens.
2020-06-22 16:32:26 -04:00
Sajith Sasidharan
4b1ff9546c
Do not install setuptools in pyinstaller step
...
This is unnecessary, and likely was the result of copy-pasting.
2020-05-13 12:06:11 -04:00
Sajith Sasidharan
f3d37e52db
Upload PyInstaller package as a GitHub Actions artifact
2020-05-12 18:37:50 -04:00
Sajith Sasidharan
86184e9aa9
Do not install codecov in GitHub Actions packaging tests
2020-05-12 18:28:42 -04:00
Sajith Sasidharan
b1d7e99671
Try running PyInstaller-generated binary in GitHub Actions
2020-05-12 18:15:17 -04:00
Jean-Paul Calderone
e336d977dd
Filter push trigger down to master branch
2020-04-13 12:19:41 -04:00
Sajith Sasidharan
a38029f9db
Remove on.release
from workflow triggers
...
Per GitHub's documentation for on.release events, `on.release` event
will run our workflow any time the `release` event occurs, but it is
unclear if Tahoe will need this yet. Removing for now.
2020-03-06 14:13:05 -05:00
Sajith Sasidharan
c4061fffa0
Fearlessly use codecov.io token
2020-02-27 23:15:51 -05:00
Sajith Sasidharan
29947aad86
Don't run coverage tests on Ubuntu
2020-02-26 09:19:37 -05:00
Sajith Sasidharan
9752d6a2ff
Don't run tests periodically
...
While working on the PR, I never saw this actually working.
2020-02-26 09:15:02 -05:00
Sajith Sasidharan
2d0cf3d3c3
Upload integration.eliot.json if integration tests fail
2020-02-26 09:11:23 -05:00
Sajith Sasidharan
5ba0ba787f
Omit codechecks
2020-02-26 09:09:54 -05:00
Sajith Sasidharan
d996cc8d11
Fix a syntax error
...
Per GitHub, this is not fine:
- name: [Windows] Do stuff
run: ...
This is fine:
- name: Do stuff [Windows]
run: ...
2020-02-25 23:17:45 -05:00
Sajith Sasidharan
4924cd9c04
Run "tox -e pyinstaller" in a separate step
2020-02-25 23:10:26 -05:00
Sajith Sasidharan
383b102b78
Run integration tests
...
Run integration tests only on macOS for now, because on Windows and
Ubuntu integration tests get stuck and time out after six hours.
2020-02-25 23:05:03 -05:00
Sajith Sasidharan
1a4ae0fc81
Remove "tox -e py27"
...
Running "tox -e coverage" is sufficient.
2020-02-25 23:02:35 -05:00
Sajith Sasidharan
c535b83f06
Rename "test" to "coverage"
2020-02-25 23:02:02 -05:00
Sajith Sasidharan
77c6b39a70
Update a name
2020-02-25 23:01:29 -05:00
Sajith Sasidharan
afdfb48ee1
Run codechecks, but continue on error.
2020-02-25 22:59:04 -05:00
Sajith Sasidharan
5862e1bea3
Use GitHub Actions for CI.
...
Fixes: ticket:3277
2020-02-20 22:19:21 -05:00
Jean-Paul Calderone
99318ab363
Skeleton that mostly links to existing documentation
2019-03-15 13:11:21 -04:00