Update actions
This commit is contained in:
parent
0abbdfab15
commit
ee1a5aa61b
@ -3,17 +3,11 @@
|
||||
#
|
||||
# maturin generate-ci github
|
||||
#
|
||||
name: CI
|
||||
name: Build Python Wheels and push to PyPI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- new_tree
|
||||
tags:
|
||||
- '*'
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
permissions:
|
||||
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",
|
||||
"pre-commit",
|
||||
"isort",
|
||||
"responses",
|
||||
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user