Skip to content

Adding GHA CI file

Adding GHA CI file #1

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Conda
uses: conda-incubator/setup-miniconda@v3
with:

Check failure on line 20 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
auto-activate-base: true
activate-environment: ""
- name: Install OpenMC
shell: bash
run: |
conda config --add channels conda-forge
conda install -c conda_forge openmc==0.15.0
- name: Clone OpenMC
run: |
git clone https://github.com/openmc-dev/openmc --branch v0.15.0 $HOME
- name: Test examples
run: |
OPENMC_EXAMPLES_DIR=$HOME/openmc/examples pytest -v ./test/test_examples.py