Skip to content

Commit

Permalink
Merge pull request #29 from Shaikh-Ubaid/test_debug
Browse files Browse the repository at this point in the history
Add debug test and run at CI
  • Loading branch information
Shaikh-Ubaid committed Jan 31, 2024
2 parents ae68aa8 + 6be4685 commit 4fcfea1
Showing 1 changed file with 49 additions and 1 deletion.
50 changes: 49 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- main

env:
LFORTRAN_VERSION: 0.33.0
LFORTRAN_VERSION: 0.33.1
MACOSX_DEPLOYMENT_TARGET: 12.0

jobs:
Expand Down Expand Up @@ -231,3 +231,51 @@ jobs:
cd scipy/
micromamba activate scipy-dev
python dev.py test -t scipy.interpolate -v
misc:
name: Misc Test ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["macos-latest", "ubuntu-latest"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
create-args: >-
lfortran=${{ env.LFORTRAN_VERSION }}
llvmdev=11.1.0
- uses: hendrikmuhs/ccache-action@main
with:
variant: sccache
key: ${{ github.job }}-${{ matrix.os }}

- name: Print installed packages information
shell: bash -e -x -l {0}
run: |
which lfortran
micromamba env list
micromamba activate lf
micromamba list
which lfortran
- name: Clone LFortran Source Repository
shell: bash -e -x -l {0}
run: |
git clone https://github.com/lfortran/lfortran.git
cd lfortran
git fetch https://github.com/lfortran/lfortran.git --tags -f
git checkout v${{ env.LFORTRAN_VERSION }}
- name: Run LFortran Misc Tests
if: ${{ !startsWith(matrix.os, 'windows-2019') }}
shell: bash -e -x -l {0}
run: |
cd lfortran
./run_tests.py --no-llvm --skip-cpptranslate

0 comments on commit 4fcfea1

Please sign in to comment.