Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/bleeding-edge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
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.2.3

jobs:

# Test against EDM packages
test-bleeding-edge:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Cache EDM packages
uses: actions/cache@v2
with:
path: ~/.cache
key: ${{ runner.os }}-${{ hashFiles('etstool.py') }}
- name: Set up EDM
uses: enthought/setup-edm-action@v1
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
- name: Remove dependencies obtanied 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
uses: GabrielBB/xvfb-action@v1
with:
run: edm run -- python etstool.py test
4 changes: 3 additions & 1 deletion .github/workflows/test-with-edm.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Test with EDM

on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
pull_request:
schedule:
- cron: '0 0 * * 5'
Expand All @@ -22,7 +24,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.cache
key: ${{ runner.os }}-${{ matrix.toolkit }}-${{ hashFiles('etstool.py') }}
key: ${{ runner.os }}-${{ hashFiles('etstool.py') }}
- name: Set up EDM
uses: enthought/setup-edm-action@v1
with:
Expand Down