Skip to content

Commit

Permalink
feat: adding test to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nephi-dev committed Nov 24, 2023
1 parent cea3192 commit cc1fcce
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 20 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,25 @@ permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: update
run: |
rustup update
rustup component add clippy
rustup install nightly
- name: lint
run: |
cd rmxl
cargo fmt -- --check
cargo clippy -- -D warnings
- name: test
run: |
cd rmxl
cargo check
cargo test --all
linux:
runs-on: ubuntu-latest
strategy:
Expand All @@ -24,7 +43,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.12'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "rxml"
requires-python = ">=3.10"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
Expand Down

0 comments on commit cc1fcce

Please sign in to comment.