mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-11-03 20:54:07 +01:00
add workflow to check Python API on Ubuntu
This commit is contained in:
parent
e9c376c83b
commit
39b127270f
14
.github/workflows/actions.yml
vendored
14
.github/workflows/actions.yml
vendored
@ -30,7 +30,19 @@ jobs:
|
|||||||
|
|
||||||
- name: check TREXIO
|
- name: check TREXIO
|
||||||
run: make check
|
run: make check
|
||||||
|
|
||||||
|
- name: create virtual environment
|
||||||
|
run: |
|
||||||
|
python3 -m venv --clear pytrexio-venv
|
||||||
|
source pytrexio-venv/bin/activate
|
||||||
|
|
||||||
|
- name: install Python API
|
||||||
|
run: make python-install
|
||||||
|
# alternatively we can also run pip install trexio to check PyPI installation
|
||||||
|
|
||||||
|
- name: check Python API
|
||||||
|
run: make python-test
|
||||||
|
|
||||||
- name: clean
|
- name: clean
|
||||||
run: make clean
|
run: make clean
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user