Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-yin committed Nov 1, 2023
1 parent 1f83186 commit 6ba7b72
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@ on:
jobs:
runtests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Run tests
run: |
tox
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10' ]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Run tests
run: |
tox

0 comments on commit 6ba7b72

Please sign in to comment.