Skip to content

Commit

Permalink
Use colcon/ci reusable testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay committed Feb 7, 2024
1 parent 78837ab commit 507f886
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,7 @@ on:
push:
branches:
- master
schedule:
# Run automatically every day
- cron: "0 0 * * *"

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
include:
- os: macos-latest
python-version: 3.8
- os: windows-latest
python-version: 3.8
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install test dependencies
run: |
pip install -U pytest pytest-repeat pytest-cov coverage
pip install -U flake8 flake8-blind-except flake8-builtins flake8-class-newline flake8-comprehensions flake8-deprecated flake8-docstrings flake8-import-order flake8-quotes pep8-naming pyenchant pylint scspell3k>=2.2
- name: Run tests
run: |
python -m pytest
uses: colcon/ci/.github/workflows/pytest.yaml@main

0 comments on commit 507f886

Please sign in to comment.