From 8677b93b516b654d52779d080849c2379a15463c Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Fri, 4 Oct 2024 16:57:54 -0400 Subject: [PATCH] add CI workflow --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..3cced132 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python + +name: CI + +on: [pull_request, push] + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Conda + uses: conda-incubator/setup-miniconda@v2 + with: + activate-environment: hisp-env + miniforge-version: latest + channels: conda-forge + environment-file: environment.yml + + - name: Run example + shell: bash -l {0} + run: python simple_mb.py