fixed base task activated #478
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Pychron Install via EDM with unittest suite | |
on: | |
push: | |
branches: [ dev/dc, dev/dr, hot/dr, hot/dc] | |
pull_request: | |
branches: [ dev/dc, dev/dr, hot/dr, hot/dc] | |
jobs: | |
build: | |
name: Pychron Install via EDM (${{ matrix.python-version }}, ${{ matrix.os }}) | |
strategy: | |
matrix: | |
os: [ macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Cache EDM packages | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache | |
key: ${{ runner.os }}--${{ hashFiles('requirements.txt') }} | |
- name: Setup EDM | |
uses: enthought/setup-edm-action@v1 | |
with: | |
edm-version: 3.1.1 | |
- name: Install EDM dependencies | |
run: > | |
edm install -y chaco certifi cython envisage future gitpython keyring jinja2 lxml numpy pandas patsy pillow | |
pip pyface pyparsing pyproj pymysql pyqt5 pytables pyyaml pygments qt Reportlab requests | |
scipy sqlalchemy traits xlrd xlsxwriter xlwt pytest statsmodels | |
- name: Install PIP dependencies | |
run: > | |
~/.edm/envs/edm/bin/python -m pip install --no-dependencies uncertainties qimage2ndarray peakutils | |
- name: Test with unittest | |
run: | | |
~/.edm/envs/edm/bin/python -m unittest pychron/test_suite.py | |