remove flatpak tests which don't work great in CI
This commit is contained in:
parent
00329cdd33
commit
e2339616fb
1 changed files with 0 additions and 15 deletions
15
tests.sh
15
tests.sh
|
|
@ -44,21 +44,6 @@ poetry run \
|
||||||
--format json | jq
|
--format json | jq
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get remove -y --purge cowsay
|
DEBIAN_FRONTEND=noninteractive apt-get remove -y --purge cowsay
|
||||||
|
|
||||||
# Ensure some flatpaks are installed
|
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y flatpak
|
|
||||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
|
||||||
flatpak install -y flathub org.onionshare.OnionShare
|
|
||||||
|
|
||||||
poetry run \
|
|
||||||
enroll manifest \
|
|
||||||
--harvest "${BUNDLE_DIR}2" \
|
|
||||||
--out "${ANSIBLE_DIR}2"
|
|
||||||
|
|
||||||
# Test the presence of OnionShare
|
|
||||||
builtin cd "${ANSIBLE_DIR}2"
|
|
||||||
grep -r org.onionshare.OnionShare "${ANSIBLE_DIR}2/roles"
|
|
||||||
ansible-playbook playbook.yml -i "localhost," -c local --check --diff --tags role_flatpak
|
|
||||||
|
|
||||||
# Ansible test
|
# Ansible test
|
||||||
builtin cd "${ANSIBLE_DIR}"
|
builtin cd "${ANSIBLE_DIR}"
|
||||||
# Lint
|
# Lint
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue