Skip to content

Commit 33e88a9

Browse files
committed
tests
tests tests tests tests
1 parent bf1d0f0 commit 33e88a9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+102
-1584
lines changed

.github/workflows/ci.yml

-52
This file was deleted.

.github/workflows/push.yml

+102
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
jobs:
2+
build:
3+
runs-on: "ubuntu-latest"
4+
steps:
5+
- uses: "actions/checkout@v4"
6+
with:
7+
fetch-depth: 0
8+
- uses: "actions/setup-python@v5"
9+
with:
10+
python-version: "3.x"
11+
- run: "python -m pip install --upgrade build"
12+
- run: "python -m build ."
13+
- uses: "actions/upload-artifact@v3"
14+
with:
15+
name: "python-package-distributions"
16+
path: "dist/"
17+
# pytest:
18+
# strategy:
19+
# matrix:
20+
# platform:
21+
# - "macos-latest"
22+
# - "ubuntu-latest"
23+
# # - "windows-latest"
24+
# python:
25+
# - "3.10"
26+
# - "3.11"
27+
# runs-on: ${{ matrix.platform }}
28+
# steps:
29+
# - uses: "actions/checkout@v4"
30+
# - uses: "actions/setup-python@v5"
31+
# with:
32+
# python-version: ${{ matrix.python }}
33+
# - run: "python -m pip install -r requirements.in"
34+
# - run: "python -m pip install -r requirements-dev.in"
35+
# - run: "python -m pip install --editable ."
36+
# - run: "python -m pytest"
37+
# - env:
38+
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
39+
# uses: "codecov/codecov-action@v3"
40+
# pypi:
41+
# environment:
42+
# name: "pypi.org"
43+
# url: "https://pypi.org/project/lbster"
44+
# if: "startsWith(github.ref, 'refs/tags/')"
45+
# needs:
46+
# - "build"
47+
# permissions:
48+
# id-token: "write"
49+
# runs-on: "ubuntu-latest"
50+
# steps:
51+
# - uses: "actions/download-artifact@v3"
52+
# with:
53+
# name: "python-package-distributions"
54+
# path: "dist/"
55+
# - uses: "pypa/gh-action-pypi-publish@release/v1"
56+
# release:
57+
# needs:
58+
# - "pypi"
59+
# permissions:
60+
# contents: "write"
61+
# id-token: "write"
62+
# runs-on: "ubuntu-latest"
63+
# steps:
64+
# - uses: "actions/download-artifact@v3"
65+
# with:
66+
# name: "python-package-distributions"
67+
# path: "dist/"
68+
# - uses: "sigstore/gh-action-sigstore-python@v1.2.3"
69+
# with:
70+
# inputs: "./dist/*.tar.gz ./dist/*.whl"
71+
# - env:
72+
# GITHUB_TOKEN: "${{ github.token }}"
73+
# run: "gh release create '${{ github.ref_name }}' --notes '' --repo '${{ github.repository }}'"
74+
# - env:
75+
# GITHUB_TOKEN: "${{ github.token }}"
76+
# run: "gh release upload '${{ github.ref_name }}' dist/** --repo '${{ github.repository }}'"
77+
# ruff:
78+
# runs-on: "ubuntu-latest"
79+
# steps:
80+
# - uses: "actions/checkout@v4"
81+
# - uses: "chartboost/ruff-action@v1"
82+
# with:
83+
# args: "format --check"
84+
# testpypi:
85+
# environment:
86+
# name: "test.pypi.org"
87+
# url: "https://test.pypi.org/project/lbster"
88+
# needs:
89+
# - "build"
90+
# permissions:
91+
# id-token: "write"
92+
# runs-on: "ubuntu-latest"
93+
# steps:
94+
# - uses: "actions/download-artifact@v3"
95+
# with:
96+
# name: "python-package-distributions"
97+
# path: "dist/"
98+
# - uses: "pypa/gh-action-pypi-publish@release/v1"
99+
# with:
100+
# repository-url: "https://test.pypi.org/legacy/"
101+
# skip-existing: true
102+
on: "push"

.github/workflows/push_main.yml

-100
This file was deleted.

README.md

-10
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,3 @@ pre-commit install
119119
```bash
120120
python -m pytest -v --cov-report term-missing --cov=./lobster ./tests
121121
```
122-
123-
### Build and browse docs locally
124-
125-
```bash
126-
make -C docs html
127-
cd docs/build/html
128-
python -m http.server
129-
```
130-
131-
Then open `http://localhost:8000` in your browser.

tests/.gitkeep

Whitespace-only changes.

tests/__init__.py

Whitespace-only changes.

tests/lobster/__init__.py

Whitespace-only changes.

tests/lobster/cmdline/__init__.py

Whitespace-only changes.

tests/lobster/cmdline/test__cmdline.py

-20
This file was deleted.

tests/lobster/conftest.py

-12
This file was deleted.

tests/lobster/data/__init__.py

Whitespace-only changes.

tests/lobster/data/test__calm_datamodule.py

-43
This file was deleted.

tests/lobster/data/test__cyno_pk_datamodule.py

-29
This file was deleted.

0 commit comments

Comments
 (0)