I get the following error when running an azure pipeline.
Here is the pytest part of my pipelines yaml file.
steps:
#test
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'
#test
- script: |
python -m pip install --upgrade pip
python -m pip install wheel
pip install -r requirements.txt
condition: ne(variables.CACHE_RESTORED, 'true')
displayName: 'Install dependencies'
#test
- script: |
python -m spacy download de_core_news_sm
python -m spacy download de_core_news_md
#test
- script: |
pip install pytest pytest-azurepipelines
pytest
displayName: 'pytest'
The file tat_core/criteria/checks/zw2n_test.py does not exist on my local copy of the repository. I deleted it.
How can I tell the pipeline that the file does not exist and the test does not have to be run? I assume there is some kind of caching indicated by the path /opt/hostedtoolscache. Can I empty this cache?