fix permission errors
This commit is contained in:
parent
360ef85847
commit
a587930405
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -78,7 +78,7 @@ jobs:
|
|||||||
echo 'ALL ALL=(ALL:ALL) PASSWD: ALL' | sudo tee -a /etc/sudoers.d/010_require_sudo_password
|
echo 'ALL ALL=(ALL:ALL) PASSWD: ALL' | sudo tee -a /etc/sudoers.d/010_require_sudo_password
|
||||||
sudo useradd -m -p "$(openssl passwd -1 $INKY_INITAL_PASSWORD)" inky
|
sudo useradd -m -p "$(openssl passwd -1 $INKY_INITAL_PASSWORD)" inky
|
||||||
sudo usermod -a -G adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,input,netdev,gpio,i2c,spi inky
|
sudo usermod -a -G adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,input,netdev,gpio,i2c,spi inky
|
||||||
su inky
|
su - inky
|
||||||
cd /home/inky
|
cd /home/inky
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
python --version
|
python --version
|
||||||
@ -86,7 +86,6 @@ jobs:
|
|||||||
sudo apt-get install zlib1g libjpeg-dev libatlas-base-dev rustc libopenjp2-7 python3-dev scons libssl-dev python3-venv python3-pip git libfreetype6-dev -y
|
sudo apt-get install zlib1g libjpeg-dev libatlas-base-dev rustc libopenjp2-7 python3-dev scons libssl-dev python3-venv python3-pip git libfreetype6-dev -y
|
||||||
echo $PWD && ls
|
echo $PWD && ls
|
||||||
git clone --branch main --single-branch https://github.com/aceinnolab/Inkycal
|
git clone --branch main --single-branch https://github.com/aceinnolab/Inkycal
|
||||||
sudo chown -R inky:inky Inkycal
|
|
||||||
cd Inkycal
|
cd Inkycal
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
@ -96,6 +95,7 @@ jobs:
|
|||||||
cd inkycal/tests
|
cd inkycal/tests
|
||||||
wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json
|
wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json
|
||||||
for f in *.py; do python3 "$f"; done
|
for f in *.py; do python3 "$f"; done
|
||||||
|
sudo chown -R inky:inky /home/inky/Inkycal
|
||||||
|
|
||||||
- name: Compress the release image
|
- name: Compress the release image
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user