From a9612628de35e07e1298fa8e3ae053a2f4bd7111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Boisg=C3=A9rault?= Date: Sat, 27 Jul 2024 16:32:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20basic=20CI=20for=20experim?= =?UTF-8?q?ental=20branch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/experimental.yml | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/experimental.yml diff --git a/.github/workflows/experimental.yml b/.github/workflows/experimental.yml new file mode 100644 index 0000000..8136f8a --- /dev/null +++ b/.github/workflows/experimental.yml @@ -0,0 +1,37 @@ +name: experimentak +on: [workflow_dispatch] + + +jobs: + main: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + defaults: + run: + shell: bash -l {0} + steps: + - name: Checkout experimental branch + uses: actions/checkout@v4 + with: + ref: my-branch + + - name: Activate Conda environment + uses: conda-incubator/setup-miniconda@v3 + with: + activate-environment: pandoc + environment-file: environment.yml + + - name: Install LaTeX (Ubuntu) + if: matrix.os == 'ubuntu-latest' + run: | + sudo apt-get update + sudo apt-get install texlive-full + + - name: Install Python pandoc + run: python setup.py install + + - name: Test Python pandoc + run: python test.py && python test.py -v +