disable non-existent tests in CI
All checks were successful
Python package / lint (push) Successful in 7s

This commit is contained in:
Brendan Haines 2024-09-14 12:49:41 -06:00
parent 379b5d360c
commit aeb3c62af7

View File

@ -25,37 +25,37 @@ jobs:
- name: Lint - name: Lint
run: flake8 run: flake8
test: # test:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
strategy: # strategy:
matrix: # matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"] # python-version: ["3.8", "3.9", "3.10", "3.11"]
env: # env:
RUNNER_TOOL_CACHE: /toolcache # https://about.gitea.com/resources/tutorials/enable-gitea-actions-cache-to-accelerate-cicd # 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 # AGENT_TOOLSDIRECTORY: /toolcache # https://github.com/actions/setup-python/issues/824
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} # - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 # uses: actions/setup-python@v5
with: # with:
python-version: ${{ matrix.python-version }} # python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version # # You can test your matrix by printing the current Python version
- name: Display Python version # - name: Display Python version
run: python -c "import sys; print(sys.version)" # run: python -c "import sys; print(sys.version)"
- name: Install dependencies # - name: Install dependencies
run: | # run: |
python -m pip install --upgrade pip # python -m pip install --upgrade pip
pip install pipenv # pip install pipenv
pipenv verify # pipenv verify
pipenv --python ${{ matrix.python-version }} install --dev --skip-lock # pipenv --python ${{ matrix.python-version }} install --dev --skip-lock
pipenv run pip install pytest pytest-cov # pipenv run pip install pytest pytest-cov
- name: Checking dependencies # - name: Checking dependencies
run: pipenv run pip list # run: pipenv run pip list
- name: Running tests # - name: Running tests
run: pipenv run pytest --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html # run: pipenv run pytest --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html