Skip to content

Fixing sytax error in issue #68 #41

Fixing sytax error in issue #68

Fixing sytax error in issue #68 #41

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Linux-Python3
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y build-essential gfortran gcc g++ quantum-espresso
python3 -m pip install --upgrade pip
python3 -m pip install setuptools wheel scikit-build cmake ninja numpy
- name: Install package
run: python3 -m pip install .
- name: Test with pytest
run: |
python3 -m pip install pytest pytest-bdd
python3 -m pytest