Skip to content

Commit

Permalink
more workflow changes
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnebulalol committed Aug 31, 2022
1 parent 5ffe86c commit 47568a1
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 34 deletions.
70 changes: 39 additions & 31 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,47 @@
name: Build package and produce artifact
name: Build package

on:
release:
types: [published]

workflow_dispatch:

workflow_run:
workflows: ["Test script"]
branches: [main]
types:
- completed

push:
paths-ignore:
- 'README.md'
- 'book.json'
- '.gitignore'
- '.pep8'
- 'Dockerfile'
- 'Dockerfile.*'
- '.devcontainer/**'
- '.vscode/**'
- '.github/**'
- '!.github/workflows/build.yml'
- 'docs/**'
branches:
- "main"
pull_request:
paths-ignore:
- 'README.md'
- 'book.json'
- '.gitignore'
- '.pep8'
- 'Dockerfile'
- 'Dockerfile.*'
- '.devcontainer/**'
- '.vscode/**'
- '.github/**'
- '!.github/workflows/build.yml'
- 'docs/**'
branches:
- "main"
#push:
# paths-ignore:
# - 'README.md'
# - 'book.json'
# - '.gitignore'
# - '.pep8'
# - 'Dockerfile'
# - 'Dockerfile.*'
# - '.devcontainer/**'
# - '.vscode/**'
# - '.github/**'
# - '!.github/workflows/build.yml'
# - 'docs/**'
# branches:
# - "main"
#pull_request:
# paths-ignore:
# - 'README.md'
# - 'book.json'
# - '.gitignore'
# - '.pep8'
# - 'Dockerfile'
# - 'Dockerfile.*'
# - '.devcontainer/**'
# - '.vscode/**'
# - '.github/**'
# - '!.github/workflows/build.yml'
# - 'docs/**'
# branches:
# - "main"

jobs:
build:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
strategy:
matrix:
# Run with all these versions of Python
python-version: [3.8, 3.9, "3.10"]
python-version: ["3.8", "3.9", "3.10"]

steps:
# Checkout the latest code from the repo
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
os: [macos-12]

# Run with all these versions of Python
python-version: [3.7, 3.8, 3.9]
python-version: ["3.7", "3.8", "3.9"]

steps:
- name: Set up Procursus
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
os: [windows-latest]

# Run with all these versions of Python
python-version: [3.8, 3.9, "3.10"]
python-version: ["3.8", "3.9", "3.10"]

steps:
# Checkout the latest code from the repo
Expand Down

0 comments on commit 47568a1

Please sign in to comment.