Skip to content

Commit

Permalink
Update action step names [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
e-lo committed Oct 21, 2024
1 parent 67cb628 commit 005b9af
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow will build and upload a Python Package to TestPyPI
# https://github.com/marketplace/actions/pypi-publish
name: Testing Building and Publish Python Package to TestPyPI
name: Test Building + Publishing to TestPyPI
on:
push:
branches: [main, develop]
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Push Workflow
name: Lint, test + build docs

on: [push]

Expand Down Expand Up @@ -28,15 +28,15 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -e .[tests]
- name: Run Ruff
- name: Lint
run: ruff check --output-format=github network_wrangler
- name: Run tests with coverage and benchmarking
- name: Run tests
run: |
pytest --junitxml=pytest.xml --cov-report "xml:coverage.xml" --benchmark-save=benchmark --benchmark-json=benchmark.json
- name: Build docs
run: |
mike deploy --push ${{ github.ref_name }}
- name: Update latest alias if on main branch
- name: Update latest docs
if: github.ref == 'refs/heads/main'
run: |
mike alias latest ${{ github.ref_name }} --push
Expand All @@ -62,4 +62,3 @@ jobs:
with:
pytest-xml-coverage-path: coverage.xml
junitxml-path: pytest.xml

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow will build and upload a Python Package to PyPI
# https://github.com/marketplace/actions/pypi-publish
name: Publish Python Package 📦 to PyPI
name: Build + Publish Python Package 📦 to PyPI
on:
release:
types: [created]
Expand Down Expand Up @@ -69,4 +69,4 @@ jobs:
pip install -e .[docs]
- name: Build docs
run: |
mike deploy --push --update-aliases latest ${{ github.ref_name }}
mike deploy --push --update-aliases latest ${{ github.ref_name }}

0 comments on commit 005b9af

Please sign in to comment.