Update actions

This commit is contained in:
Tom 2025-02-13 14:01:49 +00:00
parent 0abbdfab15
commit ee1a5aa61b
3 changed files with 38 additions and 10 deletions

View File

@ -3,17 +3,11 @@
# #
# maturin generate-ci github # maturin generate-ci github
# #
name: CI name: Build Python Wheels and push to PyPI
on: on:
push: release:
branches: types: [published]
- main
- new_tree
tags:
- '*'
pull_request:
workflow_dispatch:
permissions: permissions:
contents: read contents: read

34
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,34 @@
# This file is autogenerated by maturin v1.7.7
# To update, run
#
# maturin generate-ci github
#
name: Test
on:
push:
branches:
- main
- develop
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
linux:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Build and Install
run: |
python -m pip install ".[rust,dev]"
- name: Test
run: |
pytest

View File

@ -57,5 +57,5 @@ dev = [
"flake8", "flake8",
"pre-commit", "pre-commit",
"isort", "isort",
"responses",
] ]