Skip to content

Commit b3e6ccd

Browse files
committed
modify the test-package
1 parent 11ec82d commit b3e6ccd

File tree

1 file changed

+15
-27
lines changed

1 file changed

+15
-27
lines changed

.github/workflows/test-package.yml

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
1-
# Copyright 2022 J.P. Morgan Chase & Co.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
4-
# the License. You may obtain a copy of the License at
5-
#
6-
# http://www.apache.org/licenses/LICENSE-2.0
7-
#
8-
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
9-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
10-
# specific language governing permissions and limitations under the License.
11-
12-
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
13-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
14-
15-
name: Test Python package with Tox
1+
name: LocalStack py-avro-schema / Run Tests
162

173
on:
184
push:
@@ -23,23 +9,25 @@ on:
239
jobs:
2410
build:
2511
runs-on: ubuntu-latest
26-
strategy:
27-
fail-fast: false
28-
matrix:
29-
python-version:
30-
- '3.11'
31-
- '3.12'
32-
- '3.13'
3312

3413
steps:
3514
- uses: actions/checkout@v4
3615
- name: Set up Python ${{ matrix.python-version }}
3716
uses: actions/setup-python@v5
3817
with:
39-
python-version: ${{ matrix.python-version }}
18+
python-version: "3.13"
19+
20+
- name: Install uv
21+
uses: astral-sh/setup-uv@v7
22+
4023
- name: Install dependencies
4124
run: |
42-
python -m pip install --upgrade pip
43-
python -m pip install tox tox-gh-actions
44-
- name: Run Tox commands
45-
run: python -m tox
25+
make install-dev
26+
27+
- name: Linting
28+
run: |
29+
make lint
30+
31+
- name: Execute tests
32+
run: |
33+
make test

0 commit comments

Comments
 (0)