diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c518006..870cb3a 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -25,9 +25,16 @@ jobs: - name: Install Python Dependencies run: | - python3 -m pip install --upgrade pip --quiet - if [ -f requirements.txt ]; then pip3 install -r requirements.txt --quiet; fi - pip3 install yfinance pandas pyyaml openpyxl --quiet + if ! python3 -m pip --version >/dev/null 2>&1; then + curl -sS https://bootstrap.pypa.io/get-pip.py -o get-pip.py + python3 get-pip.py --user --quiet + rm get-pip.py + fi + export PATH=$HOME/.local/bin:$PATH + python3 -m pip install --upgrade pip --user --quiet + if [ -f requirements.txt ]; then python3 -m pip install -r requirements.txt --user --quiet; fi + python3 -m pip install yfinance pandas pyyaml openpyxl --user --quiet + echo "$HOME/.local/bin" >> $GITHUB_PATH - name: Install Node Dependencies run: npm install --quiet