From aeb3c62af71a284f17e0f139437808750fcda338 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Sat, 14 Sep 2024 12:49:41 -0600 Subject: [PATCH] disable non-existent tests in CI --- .github/workflows/python.yml | 56 ++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 68bb66e..92c3a9f 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -25,37 +25,37 @@ jobs: - name: Lint run: flake8 - test: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] - env: - RUNNER_TOOL_CACHE: /toolcache # https://about.gitea.com/resources/tutorials/enable-gitea-actions-cache-to-accelerate-cicd - AGENT_TOOLSDIRECTORY: /toolcache # https://github.com/actions/setup-python/issues/824 - steps: - - uses: actions/checkout@v4 + # test: + # runs-on: ubuntu-latest + # strategy: + # matrix: + # python-version: ["3.8", "3.9", "3.10", "3.11"] + # env: + # RUNNER_TOOL_CACHE: /toolcache # https://about.gitea.com/resources/tutorials/enable-gitea-actions-cache-to-accelerate-cicd + # AGENT_TOOLSDIRECTORY: /toolcache # https://github.com/actions/setup-python/issues/824 + # steps: + # - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} + # - name: Set up Python ${{ matrix.python-version }} + # uses: actions/setup-python@v5 + # with: + # python-version: ${{ matrix.python-version }} - # You can test your matrix by printing the current Python version - - name: Display Python version - run: python -c "import sys; print(sys.version)" + # # You can test your matrix by printing the current Python version + # - name: Display Python version + # run: python -c "import sys; print(sys.version)" - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pipenv - pipenv verify - pipenv --python ${{ matrix.python-version }} install --dev --skip-lock - pipenv run pip install pytest pytest-cov + # - name: Install dependencies + # run: | + # python -m pip install --upgrade pip + # pip install pipenv + # pipenv verify + # pipenv --python ${{ matrix.python-version }} install --dev --skip-lock + # pipenv run pip install pytest pytest-cov - - name: Checking dependencies - run: pipenv run pip list + # - name: Checking dependencies + # run: pipenv run pip list - - name: Running tests - run: pipenv run pytest --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html + # - name: Running tests + # run: pipenv run pytest --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html