Update actions
This commit is contained in:
parent
0abbdfab15
commit
ee1a5aa61b
@ -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
34
.github/workflows/test.yml
vendored
Normal 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
|
@ -57,5 +57,5 @@ dev = [
|
|||||||
"flake8",
|
"flake8",
|
||||||
"pre-commit",
|
"pre-commit",
|
||||||
"isort",
|
"isort",
|
||||||
"responses",
|
|
||||||
]
|
]
|
Loading…
x
Reference in New Issue
Block a user