fix test #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Storageprovider backend tests | |
on: | |
push: | |
paths: | |
- storageprovider/** | |
- tests/** | |
- .github/workflows/** | |
- pyproject.toml | |
- requirements*.txt | |
env: | |
PYTHON_VERSION: "3.11" | |
jobs: | |
test: | |
runs-on: self-hosted | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install python requirements | |
env: | |
HATCH_BUILD_NO_HOOKS: true | |
working-directory: ./ | |
run: | | |
python3 -m venv venv | |
source venv/bin/activate | |
pip --version | |
pip install pip-tools | |
pip-sync requirements-dev.txt | |
pip install -e . | |
- name: Python tests | |
run: | | |
source venv/bin/activate | |
pytest tests --exitfirst --capture=no -vvv --full-trace |