Skip to content

Commit

Permalink
test results
Browse files Browse the repository at this point in the history
  • Loading branch information
apetenchea committed Oct 16, 2023
1 parent a346046 commit a0708fe
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ jobs:
- run:
name: "Run pytest"
command: |
args=("--host" "localhost" "--complete")
mkdir test-results
args=("--host" "localhost" "--complete" "--junitxml=test-results/junit.xml")
if [ << parameters.cluster >> = true ]; then
args+=("--cluster" "--port=8529" "--port=8539" "--port=8549")
else
Expand All @@ -64,11 +65,16 @@ jobs:
fi
echo "Running py.test with args: ${args[@]}"
py.test "${args[@]}"
- store_test_results:
path: test-results
- store_artifacts:
path: test-results

workflows:
python-3.10-community-single-3.10:
jobs:
- run-tests:
name: python-3.10-community-single-3.10
python-version: "3.10.6"
arangodb-version: "arangodb:3.10.10"
arangodb-config: "single.conf"
Expand All @@ -77,8 +83,9 @@ workflows:
python-3.10-enterprise-cluster-3.10:
jobs:
- run-tests:
name: python-3.10-enterprise-cluster-3.10
python-version: "3.10.6"
arangodb-version: "arangodb/enterprise:3.10.10"
arangodb-version: "enterprise:3.10.10"
arangodb-config: "cluster.conf"
cluster: true
enterprise: true

0 comments on commit a0708fe

Please sign in to comment.