Skip to content

Commit

Permalink
Merge pull request apel#367 from tofu-rocketry/travis-update
Browse files Browse the repository at this point in the history
Remove redundant Python 3 test from Travis and add caching to GH Action
  • Loading branch information
tofu-rocketry authored May 10, 2024
2 parents c5c02f0 + bc16313 commit ca26ec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
unit-test:
runs-on: ubuntu-20.04
runs-on: ubuntu-20.04 # 20.04 to allow for Py 3.6
services:
mariadb:
image: mariadb:10.4
Expand All @@ -31,6 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# Python versions on Rocky 8 and 9 respectively
python-version: ['3.6', '3.9']
name: Python ${{ matrix.python-version }} test
steps:
Expand All @@ -40,6 +41,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Set up dependencies for python-ldap
run: |
Expand Down
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ os: linux
language: python
python:
- "2.7"
- "3.7"
matrix:
allow_failures:
- python: "3.7"
fast_finish: true

# MySQL doesn't start automatically in newer build environments
services:
Expand Down

0 comments on commit ca26ec0

Please sign in to comment.