Skip to content

Commit

Permalink
Moving CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bjmorgan committed Aug 11, 2023
1 parent dab77c2 commit 0b596ca
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,25 @@ jobs:
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install -U numpy
pip install -r requirements.txt
git clone httpe://github.com/jamedkermode/f90wrap
pip install ./f90wrap
pip install -U numpy
pip install mypy
pip install types-PyYAML
pip install pytest
pip install pytest-cov
pip install .
pip list
- name: Before script
gfortran -v
cd crystal_torture
f2py -c --opt='-O3' --f90flags='-fopenmp' -lgomp -m dist dist.f90
fortran -c -O3 -fPIC tort.f90
f2py-f90wrap -c --opt='-O3' --f90flags='-fopenmp' -lgomp -m _tort f90wrap_tort.f90 tort.o
cd ../
- name: Run tests
run: |
pytest --cov-config=.coveragerc --cov=vasppy --cov-report lcov
pytest --cov-config=.coveragerc --cov=crystal_torture --cov-report lcov
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@1.1.3
with:
Expand Down

0 comments on commit 0b596ca

Please sign in to comment.