Skip to content

Commit

Permalink
build python in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshix-1 committed Dec 31, 2023
1 parent db38583 commit fca0d9d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,36 @@ jobs:
- name: Run cargo clippy
run: cargo clippy --color=always ${{ matrix.cargo_args }} -- -D warnings

build_python:
name: Clippy
runs-on: ubuntu-latest
permissions: { }
strategy:
fail-fast: false
matrix:
toolchain:
- stable
- beta
- nightly
python-version:
- "3.10"
- 3.12
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Update rust
shell: bash
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: install build
run: python3 -m pip install build
- name: Build python
run: python3 -m build

improve_code:
name: Improve and format the code
runs-on: ubuntu-latest
Expand Down

0 comments on commit fca0d9d

Please sign in to comment.