pytplot-mpl-temp version bump to 2.2.50 #179
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
cd $HOME | |
# wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh | |
wget https://repo.anaconda.com/miniconda/Miniconda3-py38_4.10.3-Linux-x86_64.sh -O miniconda.sh | |
chmod +x miniconda.sh | |
bash miniconda.sh -b -p $HOME/miniconda | |
export PATH="$HOME/miniconda/bin:$PATH" | |
# sudo apt-get -y install libgl1-mesa-glx | |
# sudo apt-get -y install libsm6 libxrender1 libfontconfig1 libxcomposite-dev libxcursor1 libxi6 libxtst6 libxss1 libxrandr2 libasound2 libegl1 | |
# sudo apt-get -y install xvfb | |
$HOME/miniconda/bin/conda install astropy xarray numpy scipy pyopengl pytest flake8 six coverage bokeh matplotlib --yes | |
# $HOME/miniconda/bin/conda install pyqt --yes | |
$HOME/miniconda/bin/conda install pip --yes | |
$HOME/miniconda/bin/conda install -c anaconda netcdf4 --yes | |
$HOME/miniconda/bin/conda install -c mavensdc cdflib --yes | |
$HOME/miniconda/bin/conda install keyring --yes | |
- name: Run unit tests | |
run: | | |
xvfb-run $HOME/miniconda/bin/pytest -rsv $GITHUB_WORKSPACE/tests | |
cd $GITHUB_WORKSPACE | |
$HOME/miniconda/bin/python setup.py sdist |