Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,12 @@ buildvariants:
#- name: .8.0
#- name: .7.0

- name: bevy
display_name: "Bevy"
run_on: [rhel8-latest-small]
tasks:
- name: test-bevy-asset

###############
# Task Groups #
###############
Expand Down Expand Up @@ -1422,6 +1428,22 @@ tasks:
content_type: application/zstd
display_name: nextest-archive.tar.zst

- name: test-bevy-asset
commands:
- func: bootstrap mongo-orchestration
vars:
MONGODB_VERSION: latest
TOPOLOGY: standalone
- command: subprocess.exec
type: test
params:
working_dir: src
binary: bash
args: [.evergreen/run-bevy-asset-test.sh]
include_expansions_in_env:
- PROJECT_DIRECTORY
- MONGODB_URI

#############
# Functions #
#############
Expand Down
14 changes: 14 additions & 0 deletions .evergreen/run-bevy-asset-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

source .evergreen/env.sh

set -o xtrace
set +o errexit

cd bevy

cargo nextest run --config-file ../.config/nextest.toml --profile ci
TEST_RESULT=$?
mv -f target/nextest/ci/junit.xml ../results.xml

exit ${TEST_RESULT}
1 change: 1 addition & 0 deletions bevy/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target/
Loading