Skip to content

Commit

Permalink
testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdAmmar committed Nov 15, 2024
1 parent ffb5268 commit 3e5e88d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 46 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/compilation.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
pull_request:
branches:
- master
schedule:
- cron: "42 19 * * 6"


jobs:
Expand All @@ -31,11 +33,18 @@ jobs:
- name: Compilation
run: |
bash -c "source quack.rc ; cd src ; make"
bash -c "source quack.rc ; cd src ; make ; cd .. "
- name: Upload compiled binary
uses: actions/upload-artifact@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
name: fortran-binary
path: ./bin/QuAcK
python-version: '3.x'

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install pyscf
- name: Run tests
run: |
bash -c "source quack.rc ; cd tests ; python lunch_bench.py -s light -t 1e-1"
41 changes: 0 additions & 41 deletions .github/workflows/testing.yml

This file was deleted.

0 comments on commit 3e5e88d

Please sign in to comment.