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

Updates to workflows #69

Merged
merged 5 commits into from
Nov 26, 2024
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
10 changes: 8 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ name: Generate Code Coverage report and upload to codecov.io

on:
pull_request:
branches: [ "main" ]
branches: main
paths:
- "pysyncon/**"
- "tests/**"
push:
branches: [ "main" ]
branches: main
paths:
- "pysyncon/**"
- "tests/**"

permissions:
contents: read
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: Lint codebase using Black

on:
pull_request:
branches: [ "main" ]
branches: main
paths:
- "pysyncon/**"
- "tests/**"
- "examples/**"

permissions:
contents: read
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@ name: Build html using Sphinx and upload to Github-pages

on:
push:
branches: [ "main" ]
branches: main
paths:
- "pysyncon/**"
- "doc/**"

permissions:
contents: read

jobs:
pages:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: Run unittests

on:
pull_request:
branches: [ "main" ]
branches: main
paths:
- "pysyncon/**"
- "tests/**"

permissions:
contents: read
Expand All @@ -13,7 +16,7 @@ jobs:
fail-fast: false
matrix:
buildplat: [ubuntu-20.04, windows-2019]
python: ["3.8", "3.9", "3.10", "3.11"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.buildplat }}
steps:
- name: Checkout
Expand Down