Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean the repository #3

Merged
merged 14 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/scripts/build_sdist_and_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ python -m build
mkdir -p test-sdist
cd test-sdist
python -m venv venv-sdist
venv-sdist/bin/python -m pip install ../dist/outlines-*.tar.gz
venv-sdist/bin/python -c "import outlines"
venv-sdist/bin/python -m pip install ../dist/outlines_core-*.tar.gz
venv-sdist/bin/python -c "import outlines_core"
cd ..

# Check wheel install and imports
mkdir -p test-wheel
cd test-wheel
python -m venv venv-wheel
venv-wheel/bin/python -m pip install ../dist/outlines-*.whl
venv-wheel/bin/python -c "import outlines"
venv-wheel/bin/python -m pip install ../dist/outlines_core-*.whl
venv-wheel/bin/python -c "import outlines_core"
cd ..
22 changes: 0 additions & 22 deletions .github/workflows/build_documentation.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/publish_documentation.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/release_docker.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: ./.github/scripts/build_sdist_and_wheel.sh
- name: Check that the package version matches the Release name
run: |
grep -Rq "^Version: ${GITHUB_REF:10}$" outlines.egg-info/PKG-INFO
grep -Rq "^Version: ${GITHUB_REF:10}$" outlines_core.egg-info/PKG-INFO
- name: Publish to PyPi
uses: pypa/gh-action-pypi-publish@v1.4.2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
pip install .[test]
- name: Run tests
run: |
pytest --cov=outlines
pytest --cov=src/outlines_core
- name: Upload coverage data
uses: actions/upload-artifact@v3
with:
Expand Down
17 changes: 0 additions & 17 deletions Dockerfile

This file was deleted.

Loading
Loading