Skip to content

Commit

Permalink
Test Ubuntu 20.04 in addition to 18.04. (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Sep 22, 2020
1 parent 3291e15 commit efd4f0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ on: [push, pull_request]
jobs:
build:

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

# We want to run on external PRs, but not on our own internal PRs as they'll be run
# by the push to the branch.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
python-version: [3.6, 3.7, 3.8]

steps:
Expand Down Expand Up @@ -48,7 +49,7 @@ jobs:
python -m pip install --upgrade pip tox
- name: Check style
if: matrix.python-version == '3.6'
if: matrix.os == 'ubuntu-20.04' && matrix.python-version == '3.8'
run: |
tox -e docs,style
Expand Down
2 changes: 1 addition & 1 deletion docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ v6.2 (unreleased)

Lab
^^^
* No changes.
* For developers: run CI tests on Ubuntu 20.04 in addition to 18.04 (Jendrik Seipp).

Downward Lab
^^^^^^^^^^^^
Expand Down

0 comments on commit efd4f0e

Please sign in to comment.