Compare commits
2 commits
699dbea5df
...
36fea96bb6
Author | SHA1 | Date | |
---|---|---|---|
36fea96bb6 | |||
c4f08636b2 |
1 changed files with 11 additions and 6 deletions
|
@ -8,19 +8,24 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: fedora:38 # lock to latest *stable*; rawhide/next is 'latest' tag
|
image: fedora:38 # lock to latest *stable*; rawhide/next is 'latest' tag
|
||||||
steps:
|
steps:
|
||||||
- name: Install package dependencies
|
- name: Make DNF faster
|
||||||
run: |
|
run: |
|
||||||
echo "Making DNF more performant with these directives:"
|
echo "Giving DNF these directives:"
|
||||||
echo -e 'max_parallel_downloads=20\ndeltarpm=False\nfastestmirror=False' | tee -a /etc/dnf/dnf.conf
|
echo -e 'max_parallel_downloads=20\ndeltarpm=False\nfastestmirror=False' | tee -a /etc/dnf/dnf.conf
|
||||||
dnf -yq install nodejs git python3-pip
|
|
||||||
|
- name: Install package dependencies
|
||||||
|
run: dnf -yq install nodejs git python3-pip
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install --upgrade pip
|
python3 -m pip -q install --upgrade pip
|
||||||
python3 -m pip install --no-compile -r requirements.txt
|
python3 -m pip -q install --no-compile -r requirements.txt
|
||||||
python3 -m pip install pylint
|
python3 -m pip -q install pylint
|
||||||
|
|
||||||
- name: Show Python modules / versions
|
- name: Show Python modules / versions
|
||||||
run: python3 -m pip list
|
run: python3 -m pip list
|
||||||
|
|
||||||
- name: Analyse the code with pylint
|
- name: Analyse the code with pylint
|
||||||
run: |
|
run: |
|
||||||
pylint $(git ls-files '*.py')
|
pylint $(git ls-files '*.py')
|
||||||
|
|
Reference in a new issue