Merge pull request #166 from MightyCreak/show-build-tools-versions
Show build tools version in GitHub actions
This commit is contained in:
commit
993d8256da
|
@ -25,10 +25,14 @@ jobs:
|
||||||
pip install -r requirements.dev.txt
|
pip install -r requirements.dev.txt
|
||||||
|
|
||||||
- name: Flake8
|
- name: Flake8
|
||||||
run: flake8 src/ po/
|
run: |
|
||||||
|
flake8 --version
|
||||||
|
flake8 src/ po/
|
||||||
|
|
||||||
- name: MyPy
|
- name: MyPy
|
||||||
run: mypy src/ po/
|
run: |
|
||||||
|
mypy --version
|
||||||
|
mypy src/ po/
|
||||||
|
|
||||||
meson-build-test:
|
meson-build-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
Diffuse depends on these projects:
|
Diffuse depends on these projects:
|
||||||
|
|
||||||
* Python 3.8+
|
* Python 3.8+
|
||||||
* PyPi
|
* PyPi
|
||||||
* Cairo and GObject Introspection development headers
|
* Cairo and GObject Introspection development headers
|
||||||
|
@ -28,7 +29,7 @@ _Note: Tested on Debian 11 (Buster) and Ubuntu 20.04 (Focal)_
|
||||||
<summary>Fedora</summary>
|
<summary>Fedora</summary>
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo dnf install python-pip python3-cairo-devel python3-gobject-devel meson flatpak flatpak-builder
|
sudo dnf install python-pip cairo-devel cairo-gobject-devel meson flatpak flatpak-builder
|
||||||
```
|
```
|
||||||
|
|
||||||
_Note: Tested on Fedora 34_
|
_Note: Tested on Fedora 34_
|
||||||
|
|
|
@ -318,7 +318,7 @@ class Resources:
|
||||||
|
|
||||||
def getOptionAsBool(self, option: str) -> bool:
|
def getOptionAsBool(self, option: str) -> bool:
|
||||||
'''Get the option value, casted as a boolean.'''
|
'''Get the option value, casted as a boolean.'''
|
||||||
return util.strtobool(self.getOption(option))
|
return bool(util.strtobool(self.getOption(option)))
|
||||||
|
|
||||||
# string resources
|
# string resources
|
||||||
def getString(self, symbol: str) -> str:
|
def getString(self, symbol: str) -> str:
|
||||||
|
|
Loading…
Reference in New Issue