Skip to content

Bleeding Edge dependencies #65

Bleeding Edge dependencies

Bleeding Edge dependencies #65

Workflow file for this run

name: Bleeding Edge dependencies
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
schedule:
- cron: '0 0 * * 5'
env:
INSTALL_EDM_VERSION: 3.7.0
jobs:
# Test against EDM packages
test-bleeding-edge:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runtime: ['3.6', '3.8']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Cache EDM packages
uses: actions/cache@v4
with:
path: ~/.cache
key: ${{ runner.os }}-${{ hashFiles('etstool.py') }}
- name: Set up EDM
uses: enthought/setup-edm-action@v3
with:
edm-version: ${{ env.INSTALL_EDM_VERSION }}
- name: Install click to the default EDM environment
run: edm install -y wheel click coverage
- name: Install test environment
run: edm run -- python etstool.py install --runtime=${{ matrix.runtime }}
- name: Remove dependencies obtained with edm
run: |
edm plumbing remove-package --force traits
edm plumbing remove-package --force scipy
- name: Re-install dependencies using pip
run: |
edm run -- python -m pip install --force-reinstall "git+http://github.com/enthought/traits.git#egg=traits"
edm run -- python -m pip install --force-reinstall scipy
- name: Run tests
run: edm run -- python etstool.py test --runtime=${{ matrix.runtime }}