From 52a35e858c6ce83fcd4e712005da2451df6f525e Mon Sep 17 00:00:00 2001 From: Jonathan Shimwell Date: Wed, 17 Jan 2024 15:37:02 +0000 Subject: [PATCH] added circle ci again --- .circleci/config.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..1ccef14 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,24 @@ +version: 2 +jobs: + # test: + build: + docker: + - image: openmc/openmc:develop + steps: + - checkout + - run: + name: install + command: | + pip install --upgrade pip + pip install .[tests] + apt-get update -y && apt-get install -y curl + + - run: + name: run tests + command: | + pytest tests -v --cov=openmc_plasma_source --cov-append --cov-report term --cov-report xml + + - store_test_results: + path: test-reports + + - run: bash <(curl -s https://codecov.io/bash)