Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: code-specialist/pypi-poetry-publish@v1.2
with:
PACKAGE_DIRECTORY: "./src/simstock/"
PYTHON_VERSION: "3.9"
PYTHON_VERSION: "3.13"
POETRY_VERSION: "1.4.2"
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: "main"
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,21 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: ${{ matrix.python-version }}

# Cache the installation of Poetry itself, e.g. the next step. This prevents the workflow
# from installing Poetry every time which can be slow
- name: Cache Poetry install
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.local
key: poetry-1.4.2
Expand All @@ -33,10 +37,10 @@ jobs:
# Cache your dependencies
- name: Cache deps
id: cache-deps
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: pydeps-${{ hashFiles('**/poetry.lock') }}
key: pydeps-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}

# Install dependencies
- run: poetry install --no-interaction --no-root
Expand All @@ -56,4 +60,5 @@ jobs:
run: poetry run python -m unittest -v

- name: Build Docs
if: matrix.python-version == '3.13'
run: poetry run sphinx-build -n -b html docs/source docs/build/html
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ share/python-wheels/
*.egg
MANIFEST
.vscode/
.venv/

# Django stuff:
*.log
Expand Down
247 changes: 0 additions & 247 deletions .venv/bin/Activate.ps1

This file was deleted.

63 changes: 0 additions & 63 deletions .venv/bin/activate

This file was deleted.

Loading
Loading