mirror of https://github.com/phonopy/phono3py.git
Remove phono3py-pytest-conda-rc.yml
This commit is contained in:
parent
45d524d863
commit
30d2771bcc
|
@ -1,50 +0,0 @@
|
|||
name: Python Package using Conda for rc branch
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- rc
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
shell: bash -l {0}
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
# Use conda-incubator/setup-miniconda for precise control of conda infrastructure
|
||||
- uses: conda-incubator/setup-miniconda@v2
|
||||
with:
|
||||
auto-update-conda: true
|
||||
channels: conda-forge
|
||||
channel-priority: strict
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependent packages
|
||||
run: |
|
||||
conda activate test
|
||||
conda install --yes python=${{ matrix.python-version }}
|
||||
conda install --yes matplotlib-base pyyaml "libblas=*=*openblas" openblas h5py scipy pytest codecov pytest-cov spglib alm cmake c-compiler
|
||||
- name: Install phonopy
|
||||
run: |
|
||||
conda activate test
|
||||
git clone --depth 1 https://github.com/phonopy/phonopy.git
|
||||
cd phonopy
|
||||
git checkout rc
|
||||
pip install -e . -vvv
|
||||
cd ..
|
||||
- name: Install phono3py
|
||||
run: |
|
||||
conda activate test
|
||||
pip install -e . -vvv
|
||||
- name: Run pytest
|
||||
run: |
|
||||
pytest --cov=./ --cov-report=xml test
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
verbose: true
|
Loading…
Reference in New Issue