Commit Graph

54 Commits

Author SHA1 Message Date
Mickaël Schoentgen
93114072c8 Fix looked path for workflow testing packages 2021-10-06 11:21:54 +02:00
Mickaël Schoentgen
08751d3672
Add install/update instructions database (#1160)
* Add install/update instructions database

* Update the database

* Revert README changes

They will be overwritten later.

* Revert

* Tweak

* Tweaks

* Upgrade database

* Complete commands

Still not sure about Spack upgrades.

* Sort

* Doc generation script draft

* Remove OS names from tool names

* Fix Linuxbrew name

* `wheel` already installs `setuptools`

* Gen docs

* Update

* Tweak

* Add a GitHub workflow to check for outdated installation instructions

* Fix return value

* Test

* Delete test

* Rename the script

* Add `make doc-install-inst`

* Add missing dev requirement

* The first tool is the primary we want to display

Then they are simply sorted by `tool.title`.

* Sort OSes by name

* Refactoring, jinja template, etc.

* Add tool title uniqueness `assert`, fix platform list extra `\n`

* Rebuild docs

* Update generate.py

* Update README.md

* Update methods.yml

* Update distros derived, more assertions

* Tweaks

* Add workflow to auto-update the docs

* Do not hide the command

* Tweaks

Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-10-06 11:18:27 +02:00
Jakub Roztocil
a3fa016428
Cover on Python 3.10 2021-10-05 21:30:28 +02:00
Jakub Roztocil
9c52449344
Add self to paths; same paths for PR and push 2021-10-05 21:28:39 +02:00
Jakub Roztocil
e4e4927567
Test on Python 3.10 2021-10-05 21:25:10 +02:00
Mickaël Schoentgen
507514b795
Add workflow to test with pyOpenSSL active (#1164)
* Add workflow to test with pyOpenSSL active

Original patch by @gmelodie.

* Fix tests on Windows with Python 3.6
2021-09-23 10:37:23 +02:00
Mickaël Schoentgen
9dd0203bae
Use HTTPie for the documentation build request (#1150)
Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
2021-09-15 14:25:46 +02:00
Jakub Roztocil
2b5f8f48bf
Update update-documentation.yml 2021-09-10 20:06:29 +02:00
Jakub Roztocil
a51068a44d
Update update-documentation.yml 2021-09-10 20:05:23 +02:00
Jakub Roztocil
f06d870012
Update and rename documentations.yml to check-markdown.yml 2021-09-10 20:04:52 +02:00
Mickaël Schoentgen
b38352858f [snap] Remove personal-files interface
Use of the `personal-files` interface is reserved for vetted publishers.

The interface requires a validation, but we need to publish at least
one package first. So let's skip that part, release a version and ask
for the interface access in a second time.

Also add a workflow to build & test the snap package.
2021-09-10 10:30:44 +02:00
Mickaël Schoentgen
513e5080e4 Add the release workflow
It has to be triggered manually for now.
2021-09-09 16:13:13 +02:00
Mickaël Schoentgen
7c9f415107
Add a workflow to check documentations (#1151)
* Add a workflow to check documentations

* Fix markdown issues

* Install Ruby 2.7

* Finally, handle and fix GitHub templates

* Minor improvement in the feature request template

* Verbose mode to be sure all files are checked
2021-09-09 15:52:24 +02:00
Mickaël Schoentgen
4c8633c6e5
Split the monolithic workflow into specific ones (#1149)
* Split the monolithic workflow into specific ones

* Rename workflows, improve commands

* Update pip from the venv

* Fix Windows setup

* Lowercase macos-latest

* Fix Windows run, again
2021-09-08 16:41:55 +02:00
Mickaël Schoentgen
4d7d6b66cf Trigger official documentation build when documentation is updated here 2021-09-08 15:43:34 +02:00
Mickaël Schoentgen
a586fca246
Update brew formula to 2.5.0 (#1144)
* Update brew formula to 2.5.0

* Can use `idna` 3.2

* Sort requirements to ease reproductible builds

And also to have the same output as `brew bump-formula-pr`.

* Sync `bottles` with official Formula

And keep the `high_sierra` one.

* Add a workflow to check the Formula
2021-09-08 11:01:27 +02:00
Mickaël Schoentgen
c50e287c57
CI: Run tests on Python 3.10 RC1 (#1121) 2021-08-06 13:11:21 +02:00
Mickaël Schoentgen
1470ca0c77
CI: Do not fail fast to have a real view of potential failures (#1090) 2021-06-11 20:55:51 +02:00
Mickaël Schoentgen
9857693ebf
Use a more modern approach to run tests (#1089)
Running tests through `python setup.py test` is deprecated:

> WARNING: Testing via this command is deprecated and will be removed
> in a future version. Users looking for a generic test entry point
> independent of test runner are encouraged to use tox.

I am not in favor of moving back to `tox`, we should simply run tests
using `python -m pytest` (or `make test`) and that's it.

A new extra was added, `dev`, to install development requirements:

    $ python -m pip install --upgrade --editable '.[dev]'
2021-06-11 20:55:26 +02:00
Mickaël Schoentgen
350f973f70
Switch from pycodestyle to flake8 for code style checks (#1083) 2021-06-02 11:06:46 +02:00
Jakub Roztocil
175e36da6b
Remove Python 3.10 build
Not supported by GitHub actions yet.
2021-05-27 20:19:55 +02:00
Jakub Roztocil
19e1e26d97
Add Python 3.10 build 2021-05-27 20:17:14 +02:00
Dustin Rodrigues
f7e77efe4b
Test on Python 3.9 (#986) 2020-12-21 11:42:21 +01:00
Jakub Roztocil
6c84cebed4
Update build.yml 2020-08-06 22:35:35 +02:00
Jakub Roztocil
3704db9b6d Install setuptools & wheel in CI II. 2020-07-07 13:39:02 +02:00
Jakub Roztocil
d1665b08d2 Install setuptools & wheel in CI 2020-07-07 13:38:27 +02:00
Jakub Roztocil
e9080e6b22 Build on PRs as well 2020-04-13 17:24:18 +02:00
Jakub Roztocil
1bc54d4cb4 Create Python virtual environment (via venv) for tests & development, etc. 2019-12-04 17:49:07 +01:00
Jakub Roztocil
6e2c31a5a9 Fix build 2019-12-02 20:57:21 +01:00
Jakub Roztocil
0608b5869f Upgrade setuptools 2019-12-02 20:47:09 +01:00
Jakub Roztocil
fcc3aaf873 Add Python 3.8 build 2019-12-02 20:39:07 +01:00
Jakub Roztocil
fc497daf7d
Update build.yml 2019-09-28 10:36:28 +02:00
Jakub Roztocil
b48ba74ce2
Update build.yml 2019-09-28 10:36:12 +02:00
Jakub Roztocil
2dbafe27ed Fix codecov token 2019-09-18 11:16:19 +02:00
Jakub Roztocil
3affc245c4 Fix step order 2019-09-18 11:14:34 +02:00
Jakub Roztocil
85da430d16 codecov 2019-09-18 11:09:46 +02:00
Jakub Roztocil
64c81fc2ec Simplify 2019-09-10 14:40:34 +02:00
Jakub Roztocil
b53ace480a Build on push via GitHub Actions 2019-09-10 14:18:06 +02:00
Jakub Roztocil
79b0f65fef Build on push via GitHub Actions 2019-09-10 14:14:39 +02:00
Jakub Roztocil
92fe452f92 worflow 2019-09-10 14:05:40 +02:00
Jakub Roztocil
0169151aa3 worflow 2019-09-10 14:02:11 +02:00
Jakub Roztocil
525449f044 worflow 2019-09-10 14:01:04 +02:00
Jakub Roztocil
3c4a5e7304 worflow 2019-09-10 14:00:28 +02:00
Jakub Roztocil
d9aadeef51 worflow 2019-09-10 13:59:43 +02:00
Jakub Roztocil
2bb54da368 worflow 2019-09-10 13:58:05 +02:00
Jakub Roztocil
3fa583e591 workflow 2019-09-10 13:39:59 +02:00
Jakub Roztocil
b7767b3c62 workflow 2019-09-10 13:36:02 +02:00
Jakub Roztocil
a5d9a839e5 coveralls token 2019-09-10 13:20:09 +02:00
Jakub Roztocil
2ffd8d9d9b workflow 2019-09-10 13:10:29 +02:00
Jakub Roztocil
7f80408945
Update pythonpackage.yml 2019-09-10 12:49:46 +02:00