Skip to content

Commit cf33b05

Browse files
committed
Update
1 parent a612954 commit cf33b05

File tree

3 files changed

+11
-24
lines changed

3 files changed

+11
-24
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Build Documentation
2+
23
on:
34
push:
4-
branches:
5-
- '**'
6-
tags-ignore:
7-
- '**'
5+
branches: [ '**' ]
6+
tags-ignore: [ '**' ]
7+
88
jobs:
99
deploy-docs:
1010
runs-on: ubuntu-latest
@@ -19,7 +19,7 @@ jobs:
1919
2020
- name: Deploy
2121
uses: JamesIves/github-pages-deploy-action@4.1.7
22-
# if: github.ref == 'refs/heads/master'
22+
if: github.ref == 'refs/heads/master'
2323
with:
2424
branch: gh-pages
2525
folder: site

.github/workflows/python-package.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3-
4-
name: Python package
1+
name: Python Package
52

63
on:
74
push:
@@ -20,9 +17,9 @@ jobs:
2017
- python-version: "3.9"
2118
primary-config: "true"
2219
- python-version: "3.10"
23-
primary-config: "true"
24-
- python-version: "3.11"
2520
primary-config: "false"
21+
- python-version: "3.11"
22+
primary-config: "true"
2623
steps:
2724
- uses: actions/checkout@v4
2825
- name: Set up Python ${{ matrix.python-version }}
@@ -39,8 +36,8 @@ jobs:
3936
flake8 src --count --select=E9,F63,F7,F82 --show-source --statistics
4037
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4138
flake8 src --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
42-
- name: Test with pytest
43-
# if: github.ref == 'refs/heads/master'
39+
- name: Test with pytest (only on Python 3.11 to avoid concurrency issues)
40+
if: github.ref == 'refs/heads/actions' and matrix.primary-config == 'true'
4441
env:
4542
ONE_JOB_ONLY_TESTS: ${{ matrix.primary-config }}
4643
WIOTP_API_KEY: ${{ secrets.WIOTP_API_KEY }}

.github/workflows/python-publish.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,15 @@
1-
# This workflow will upload a Python Package using Twine when a release is created
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3-
4-
# This workflow uses actions that are not certified by GitHub.
5-
# They are provided by a third-party and are governed by
6-
# separate terms of service, privacy policy, and support
7-
# documentation.
8-
91
name: Upload Python Package
102

113
on:
124
release:
13-
types: [published]
5+
types: [ published ]
146

157
permissions:
168
contents: read
179

1810
jobs:
1911
deploy:
20-
2112
runs-on: ubuntu-latest
22-
2313
steps:
2414
- uses: actions/checkout@v4
2515
- name: Set up Python

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy