mirror of
https://github.com/basicswap/basicswap.git
synced 2026-01-27 19:15:09 +01:00
tests: try prevent missing gnupg module error
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -45,14 +45,16 @@ jobs:
|
|||||||
echo "Pin: origin packages.mozilla.org" | sudo tee -a /etc/apt/preferences.d/mozilla
|
echo "Pin: origin packages.mozilla.org" | sudo tee -a /etc/apt/preferences.d/mozilla
|
||||||
echo "Pin-Priority: 1000" | sudo tee -a /etc/apt/preferences.d/mozilla
|
echo "Pin-Priority: 1000" | sudo tee -a /etc/apt/preferences.d/mozilla
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y firefox
|
sudo apt-get install -y firefox gnupg
|
||||||
fi
|
fi
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install python-gnupg
|
|
||||||
pip install -e .[dev]
|
pip install -e .[dev]
|
||||||
pip install -r requirements.txt --require-hashes
|
pip install -r requirements.txt --require-hashes
|
||||||
- name: Install
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
|
# Install dependencies again to avoid occasional: No module named 'gnupg'
|
||||||
|
pip uninstall -y pgp python-gnupg
|
||||||
|
pip install -r requirements.txt --require-hashes
|
||||||
pip install .
|
pip install .
|
||||||
# Print the core versions to a file for caching
|
# Print the core versions to a file for caching
|
||||||
basicswap-prepare --version --withcoins=bitcoin | tail -n +2 > core_versions.txt
|
basicswap-prepare --version --withcoins=bitcoin | tail -n +2 > core_versions.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user