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

Test1 #143

Merged
merged 7 commits into from
Feb 2, 2025
Merged

Test1 #143

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
1 change: 1 addition & 0 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- uses: ./actions/uv/coverage
with:
working-directory: .github/hello-world
coveralls: 'false'

jupyter:
runs-on: "ubuntu-latest"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4

- name: Generate Tag
uses: ./actions/uv/tag
with:
Expand Down
11 changes: 11 additions & 0 deletions actions/uv/coverage/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ inputs:
description: 'Python version to use'
required: false
default: '3.12'
coveralls:
description: 'Upload to coverallsapp'
required: false
default: true

runs:
using: "composite"
Expand Down Expand Up @@ -95,3 +99,10 @@ runs:
name: tests
path: ${{ inputs.working-directory }}/artifacts/tests
retention-days: 1

- name: Coveralls GitHub Action
if: ${{ inputs.coveralls == 'true' }}
uses: coverallsapp/github-action@v2
with:
files: artifacts/tests/coverage/coverage.info
format: lcov
25 changes: 25 additions & 0 deletions actions/uv/pre-commit/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2023 Stanford University Convex Optimization Group
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Check all pre-commit hooks on all files
description: "Check all pre-commit hooks"

runs:
using: "composite"
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4

- uses: pre-commit/action@v3.0.1
with:
extra_args: '--verbose --all-files'
Loading