Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudac7 committed Jun 25, 2023
1 parent e40b413 commit 1c307e4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
name: Python package

on: [push, pull_request]
on:
push:
branches:
- 'master'
- 'dev'
paths:
- miko/**
- tests/**
- .github/workflows/ci.yml
- pyproject.toml
- poetry.lock
pull_request:
paths:
- miko/**
- tests/**
- .github/workflows/ci.yml
- pyproject.toml
- poetry.lock

jobs:
build:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ on:
push:
branches:
- 'master'
- 'dev'
paths:
- docs/**
- README.md
- mkdocs.yml
- miko/**
- .github/workflows/deploy_docs.yml
jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.8']
steps:
- uses: actions/checkout@v2
- name: Build and publish to pypi
Expand Down

0 comments on commit 1c307e4

Please sign in to comment.