Skip to content

Commit

Permalink
Update CI workflows (#408)
Browse files Browse the repository at this point in the history
* Update CI workflows

* Fix missing package install

* Rename test-bleeding-edge to something more appropriate

* Add pull_request: trigger for testing purposes

* Fix typo in package name

* Remove the pull_request trigger
  • Loading branch information
mdickinson committed Jul 13, 2021
1 parent c209ef3 commit c31916b
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.8
- name: Install graphviz
run: |
sudo apt-get update
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up Python 3.9
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.8
- name: Install necessary Python packages
run: |
python -m pip install --upgrade pip setuptools wheel
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
tests-pyside2:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.6, 3.9]
os: [ubuntu-latest, windows-latest]
python-version: [3.6, 3.8]

env:
ETS_TOOLKIT: qt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install graphviz
- name: Set up Python 3.9
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.8
- name: Install necessary Python packages
run: |
python -m pip install --upgrade pip setuptools wheel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Test against ETS master
name: Integration tests

on:
workflow_dispatch:
schedule:
# Run at 04:35 UTC every Sunday
- cron: '35 4 * * 0'
Expand All @@ -9,6 +10,31 @@ env:
PYTHONUNBUFFERED: 1

jobs:
test-all-platform-python-combinations:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10-dev]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and local packages
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install .
- name: Run the test suite
run: |
mkdir testdir
cd testdir
python -X faulthandler -m unittest discover -v traits_futures
test-bleeding-edge:
strategy:
matrix:
Expand Down

0 comments on commit c31916b

Please sign in to comment.