Remove artifact: .github/workflows/ci.yml
Browse files- .github/workflows/ci.yml +0 -29
.github/workflows/ci.yml
DELETED
|
@@ -1,29 +0,0 @@
|
|
| 1 |
-
name: CI
|
| 2 |
-
|
| 3 |
-
on:
|
| 4 |
-
push:
|
| 5 |
-
branches: [ main ]
|
| 6 |
-
pull_request:
|
| 7 |
-
branches: [ main ]
|
| 8 |
-
|
| 9 |
-
jobs:
|
| 10 |
-
build:
|
| 11 |
-
runs-on: ubuntu-latest
|
| 12 |
-
steps:
|
| 13 |
-
- uses: actions/checkout@v4
|
| 14 |
-
- uses: actions/setup-python@v4
|
| 15 |
-
with:
|
| 16 |
-
python-version: '3.11'
|
| 17 |
-
- name: Install dependencies
|
| 18 |
-
run: |
|
| 19 |
-
pip install --upgrade pip
|
| 20 |
-
pip install --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt
|
| 21 |
-
pip install build
|
| 22 |
-
- name: Run tests
|
| 23 |
-
run: pytest -q
|
| 24 |
-
- name: Build package
|
| 25 |
-
run: python -m build --sdist --wheel -o dist
|
| 26 |
-
- uses: actions/upload-artifact@v4
|
| 27 |
-
with:
|
| 28 |
-
name: dist
|
| 29 |
-
path: dist
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|