Skip to content

Bump to 1.9.3

Bump to 1.9.3 #37

Workflow file for this run

name: Continuous Integration
on:
pull_request:
push:
branches:
- "main"
env:
PYTEST_ADDOPTS: "--color=yes"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Rye Python Setup
uses: eifinger/setup-rye@v4
with:
version: '0.35.0'
- name: Install Dependencies
run: rye sync
- name: Run Tests
run: |
source .venv/bin/activate
make test
- name: Attach Code Coverage
uses: py-cov-action/[email protected]
with:
GITHUB_TOKEN: ${{ github.token }}
- name: Save Snapshot Report
if: always()
uses: actions/upload-artifact@v4
with:
name: snapshot-report-posting
path: snapshot_report.html
- name: Store Pull Request Comment
uses: actions/upload-artifact@v4
if: steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
with:
# If you use a different name, update COMMENT_ARTIFACT_NAME accordingly
name: python-coverage-comment-action
# If you use a different name, update COMMENT_FILENAME accordingly
path: python-coverage-comment-action.txt