Skip to content

Commit

Permalink
fix: shared envdir in tox, update SQA
Browse files Browse the repository at this point in the history
  • Loading branch information
vykozlov authored Aug 22, 2024
1 parent 3a9ff3f commit 910a0f7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion {{ cookiecutter.__repo_name }}/.sqa/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.6"

services:
thisrepo-testing:
image: "indigodatacloud/ci-images:python3.10"
image: "ai4oshub/ci-images:python3.10"
container_name: "${BUILD_TAG}"
hostname: "${BUILD_TAG}"
working_dir: /srv
Expand Down
10 changes: 5 additions & 5 deletions {{ cookiecutter.__repo_name }}/ai4-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ dates:
created: '{% now 'utc', '%Y-%m-%d' %}'
updated: '{% now 'utc', '%Y-%m-%d' %}'
links:
ai4_template: {{ cookiecutter.__ai4_template }}
source_code: {{ cookiecutter.git_base_url }}/{{ cookiecutter.__repo_name }}
docker_image: ai4oshub/{{ cookiecutter.__repo_name }}
dataset: http://add-some-url-pointing-to-your-dataset.com
ai4_template: {{ cookiecutter.__ai4_template }}
# dataset:
tags:
- deep learning
tasks:
#tasks:
categories:
- AI4 pre trained
- AI4 trainable
- AI4 inference
libraries:
data-type:
#libraries:
#data-type:
6 changes: 4 additions & 2 deletions {{ cookiecutter.__repo_name }}/tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[tox]
minversion = 3.25.0
minversion = 3.26.0
isolated_build = True
envlist = qc.sty,qc.cov,qc.sec,py310,py39,py38
envlist = qc.sty,qc.cov,qc.sec,py310

[testenv]
install_command = pip install -U {opts} {packages}
# if recreating envdir fails in tox>=4, comment the following line
envdir = {toxworkdir}/shared
commands = pytest --numprocesses=auto {posargs}
allowlist_externals =
mkdir
Expand Down

0 comments on commit 910a0f7

Please sign in to comment.