Skip to content

Commit 5466393

Browse files
Update release.yml for massive.com
1 parent a1a8cd0 commit 5466393

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: abatilo/actions-poetry@v2
3030
- name: Get package name
3131
id: package
32-
run: echo "name=$(poetry run python -c 'import toml; print(toml.load(\"pyproject.toml\")[\"tool\"][\"poetry\"][\"name\"])')" >> $GITHUB_OUTPUT
32+
run: echo "name=$(python -c \"with open('pyproject.toml') as f: lines = f.readlines(); for line in lines: if line.strip().startswith('name ='): print(line.strip().split(' = ')[1].strip('\\\"')); break\")" >> $GITHUB_OUTPUT
3333
- name: Configure Poetry
3434
run: |
3535
if [ "${{ steps.package.outputs.name }}" == "polygon-api-client" ]; then
@@ -42,6 +42,8 @@ jobs:
4242
fi
4343
- name: Install deps
4444
run: poetry install
45+
- name: Run tests
46+
run: poetry run make test # Assuming 'make test' from repo; adjust if different (e.g., poetry run pytest)
4547
- name: Get tag
4648
id: tag
4749
uses: dawidd6/action-get-tag@v1

0 commit comments

Comments
 (0)