Skip to content

Commit

Permalink
tweak ci settings
Browse files Browse the repository at this point in the history
  • Loading branch information
hjwp committed Aug 9, 2022
1 parent 5bd957c commit cbacb25
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
name: Python package
name: Run tests

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
# You can use PyPy versions in python-version.
# For example, pypy-2.7 and pypy-3.8
matrix:
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
python-version: "3.10"

- name: Install dependencies
run: |
python setup.py develop
- name: Test
run: |
stty cols 90
pytest

0 comments on commit cbacb25

Please sign in to comment.