Fix workflows and checks (#1872)
* Update translation workflow * Fix broken checks --------- Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
This commit is contained in:
parent
96cb6cc943
commit
21bf87f234
|
|
@ -8,7 +8,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: pacman --noconfirm -Syu python python-pip
|
||||
- run: python -m pip install --upgrade pip
|
||||
- run: pip install flake8
|
||||
- run: pip install --break-system-packages --upgrade pip
|
||||
- run: pip install --break-system-packages flake8
|
||||
- name: Lint with flake8
|
||||
run: flake8
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: pacman --noconfirm -Syu python mypy python-pip
|
||||
- run: python -m pip install --upgrade pip
|
||||
- run: pip install fastapi pydantic
|
||||
- run: pip install --break-system-packages --upgrade pip
|
||||
- run: pip install --break-system-packages fastapi pydantic
|
||||
- run: python --version
|
||||
- run: mypy --version
|
||||
# one day this will be enabled
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: pacman --noconfirm -Syu python python-pip qemu gcc
|
||||
- run: python -m pip install --upgrade pip
|
||||
- run: pip install pytest
|
||||
- run: python -m pip install --break-system-packages --upgrade pip
|
||||
- run: pip install --break-system-packages pytest
|
||||
- name: Test with pytest
|
||||
run: python -m pytest || exit 0
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
on:
|
||||
[ push, pull_request ]:
|
||||
paths:
|
||||
- 'archinstall/locales/**'
|
||||
push:
|
||||
paths:
|
||||
- 'archinstall/locales/**'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'archinstall/locales/**'
|
||||
name: translation file checks
|
||||
jobs:
|
||||
translation-check:
|
||||
|
|
@ -11,7 +14,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: pacman --noconfirm -Syu python python-pip
|
||||
- run: python -m pip install --upgrade pip
|
||||
- run: pip install --break-system-packages --upgrade pip
|
||||
- run: cd archinstall/locales
|
||||
- run: bash locales_generator.sh
|
||||
- run: git diff --name-only
|
||||
- run: ls
|
||||
|
|
|
|||
Loading…
Reference in New Issue