Update tests.yml

This commit is contained in:
Ace 2023-07-26 15:12:06 +02:00 committed by GitHub
parent 8d228ae021
commit c641dc7111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,6 @@ jobs:
optimize_image: true optimize_image: true
user: inky user: inky
commands: | commands: |
whoami
cd /home cd /home
echo $PWD && ls echo $PWD && ls
sudo useradd -m -p ${{ secrets.INKY_INITAL_PASSWORD }} inky sudo useradd -m -p ${{ secrets.INKY_INITAL_PASSWORD }} inky
@ -81,16 +80,14 @@ jobs:
su inky su inky
cd /home/inky cd /home/inky
sudo apt-get update -y sudo apt-get update -y
sudo apt-get install python3.9 -y
python --version python --version
which python
which python3
sudo apt-get install -y python3-pip sudo apt-get install -y python3-pip
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
- name: Install Inkycal and run tests - name: Install Inkycal and run tests
run: | run: |
python --version
git clone --branch main --single-branch https://github.com/aceinnolab/Inkycal git clone --branch main --single-branch https://github.com/aceinnolab/Inkycal
cd Inkycal cd Inkycal
python3 -m venv venv python3 -m venv venv