You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2021/01/03 14:57:26 UTC

[buildstream] 06/18: Add missing-deps test job

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch tristan/test-workflows
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit bd3a7f3c5025e8c1eab3c0daf481bf2806f532cd
Author: Chandan Singh <ch...@chandansingh.net>
AuthorDate: Wed Aug 19 20:58:11 2020 +0100

    Add missing-deps test job
---
 .github/workflows/ci.yml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e934f9a..e1487ed 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -89,6 +89,29 @@ jobs:
               "$CI_IMAGE_PREFIX"-${{ matrix.image-name || matrix.test-name }}-"$CI_IMAGE_SUFFIX" \
               bash -c 'useradd -Um buildstream && chown -R buildstream:buildstream . && su buildstream -c "tox -- $PYTEST_ARGS"'
 
+  tests-fedora-missing-deps:
+    runs-on: ubuntu-20.04
+    container: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:30-master-154893333
+    steps:
+      - name: Check out repository
+        uses: actions/checkout@v2
+        # BuildStream requires tags to be able to find its version.
+        with:
+          fetch-depth: 0
+      - name: Uninstall Bubblewrap and OSTree
+        # We remove the Bubblewrap and OSTree packages here so that we catch any
+        # codepaths that try to use them. Removing OSTree causes fuse-libs to
+        # disappear unless we mark it as user-installed.
+        run: |
+          dnf mark install fuse-libs systemd-udev
+          dnf erase -y bubblewrap ostree
+      - name: Add test user
+        run: |
+          useradd -Um buildstream
+          chown -R buildstream:buildstream .
+      - name: Run tests
+        run: su buildstream -c "tox -- $PYTEST_ARGS"
+
   mypy:
     runs-on: ubuntu-20.04
     container: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:30-master-154893333