]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
new gh action
authorZack Cerza <zack@cerza.org>
Thu, 28 Apr 2022 17:23:44 +0000 (11:23 -0600)
committerZack Cerza <zack@cerza.org>
Thu, 28 Apr 2022 21:48:41 +0000 (15:48 -0600)
.github/workflows/ci.yml

index 7cd4c28a6e02cab0e6c0fc148655173fbfaf522d..c28b98fd99d7dfe62985bc1ee280d1585fb261d0 100644 (file)
@@ -27,4 +27,36 @@ jobs:
       - name: Run unit tests
         run: tox -e py3
       - name: Run docs build
-        run: tox -e docs
\ No newline at end of file
+        run: tox -e docs
+  deps:
+    name: Test dependencies
+    runs-on: ubuntu-latest
+    steps:
+      - name: Set up Python
+        uses: actions/setup-python@v3
+        with:
+          python-version: 3.8
+      - name: Checkout default branch
+        uses: actions/checkout@v3
+        with:
+          ref: master
+          path: teuthology
+      - name: virtualenv
+        run: |
+          pip install --user virtualenv
+          virtualenv ./virtualenv
+        working-directory: ./teuthology
+      - name: Initial bootstrap
+        run: ./bootstrap install
+        working-directory: ./teuthology
+      - name: Move initial repository
+        run: mv teuthology teuthology.orig
+      - name: Checkout desired ref
+        uses: actions/checkout@v3
+        with:
+          path: teuthology
+      - name: Move virtualenv to new checkout
+        run: mv ./teuthology.orig/virtualenv ./teuthology/
+      - name: Re-run bootstrap
+        run: ./bootstrap install
+        working-directory: ./teuthology