Skip to content

Commit

Permalink
Switch GitHub actions to only Python 2.7 and 3
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-rhodes committed May 5, 2024
1 parent cc2a316 commit ab78651
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/logging-tree-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@ on:

jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9]
python: [python2, python3]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Test with unittest
run: |
python -m unittest logging_tree.tests.test_format logging_tree.tests.test_node
- name: Test
run: ${{matrix.python}} -m unittest discover logging_tree

0 comments on commit ab78651

Please sign in to comment.