From 4f8679335f7bddb2795a256fc90c5049f0d7977b Mon Sep 17 00:00:00 2001 From: Grant Orndorff Date: Tue, 26 Mar 2024 12:26:29 -0400 Subject: [PATCH] DO NOT MERGE: modify ci to allow integration tests to run before working out unit tests --- .github/workflows/ci-base.yaml | 12 ------------ debian/rules | 1 - 2 files changed, 13 deletions(-) diff --git a/.github/workflows/ci-base.yaml b/.github/workflows/ci-base.yaml index 5c8a64e7fb..aa5b05ba1e 100644 --- a/.github/workflows/ci-base.yaml +++ b/.github/workflows/ci-base.yaml @@ -38,15 +38,3 @@ jobs: run: | ./tools/update-pos.sh [ $(git diff --ignore-matching-lines="POT-Creation-Date" | wc -c) = "0" ] - unit-tests: - name: Unit Tests - runs-on: ubuntu-22.04 - steps: - - name: Install dependencies - run: | - sudo DEBIAN_FRONTEND=noninteractive apt-get -qy update - sudo DEBIAN_FRONTEND=noninteractive apt-get -qy install tox libapt-pkg-dev - - name: Git checkout - uses: actions/checkout@v3 - - name: Unit - run: tox -e test diff --git a/debian/rules b/debian/rules index bc32debc2f..41477f6c31 100755 --- a/debian/rules +++ b/debian/rules @@ -34,7 +34,6 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ifeq (LTS,$(findstring LTS,$(VERSION))) make -C apt-hook test endif - python3 -m pytest python3 -m flake8 uaclient endif