chore: new cis #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run-tests: | |
name: Run Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' # Adjust as necessary for your project | |
# - name: Install Python dependencies | |
# run: | | |
# python -m pip install --upgrade pip | |
# # If there are other Python dependencies to install, add them here or use pip install -r requirements.txt | |
- name: Set up Maturin | |
uses: PyO3/maturin-action@v1 | |
with: | |
command: develop | |
- name: Run tests | |
run: make test |