Skip to content

Commit

Permalink
add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed Aug 10, 2023
1 parent ba62639 commit 9e69a45
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10']

steps:
- name: Support longpaths
if: matrix.os == 'windows-latest'
run: git config --system core.longpaths true

- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -37,8 +41,8 @@ jobs:
- name: Install Hatch
run: pip install --upgrade hatch

- if: matrix.python-version == '3.9' && runner.os == 'Linux'
name: Lint
- name: Lint
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run lint:all

- name: Run tests
Expand Down

0 comments on commit 9e69a45

Please sign in to comment.