Skip to content

Commit

Permalink
Trying to add tests again and again
Browse files Browse the repository at this point in the history
  • Loading branch information
HowWeiBin committed Feb 6, 2025
1 parent c56a690 commit 5c8152c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,4 @@ jobs:
python-version: "3.12"
- run: pip install tox
- name: Lint the code
run: tox -e lint
test:
strategy:
matrix:
- os: {"ubuntu-22.04", "macos-14", "windows-2022"}
- python-version: ["3.12"]
include:
- os: "ubuntu-22.04"
python-version: "3.9"
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install tox
- name: Tests the code
run: tox -e tests
run: tox -e lint
26 changes: 26 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Tests

on:
pull_request:
branches: [main]

jobs:
test:
strategy:
matrix:
- os: {"ubuntu-22.04", "macos-14", "windows-2022"}
- python-version: ["3.12"]
include:
- os: "ubuntu-22.04"
python-version: "3.9"
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install tox
- name: Tests the code
run: tox -e tests

0 comments on commit 5c8152c

Please sign in to comment.