Skip to content

Commit 9f76e2c

Browse files
authored
Merge pull request #17 from compas-dev/workflow
Workflow update
2 parents 6070682 + 2a5233f commit 9f76e2c

File tree

3 files changed

+27
-3
lines changed

3 files changed

+27
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ defaults:
1212
run:
1313
shell: bash -l {0}
1414

15-
1615
jobs:
1716
build:
17+
if: "!contains(github.event.pull_request.labels.*.name, 'docs-only')"
1818
runs-on: ${{ matrix.os }}
1919
strategy:
2020
matrix:
2121
os: [macos-latest, windows-latest]
22-
python-version: [3.7, 3.8, 3.9]
22+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
2323

2424
steps:
2525

@@ -31,7 +31,7 @@ jobs:
3131
channels: conda-forge
3232
python-version: ${{ matrix.python-version }}
3333

34-
- uses: compas-dev/[email protected].0
34+
- uses: compas-dev/[email protected].1
3535
with:
3636
test_lint: true
3737
test_compas: true

.github/workflows/pr-checks.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: verify-pr-checklist
2+
on:
3+
pull_request:
4+
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
5+
branches:
6+
- main
7+
- master
8+
9+
jobs:
10+
build:
11+
name: Check Actions
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Changelog check
16+
uses: Zomzog/[email protected]
17+
with:
18+
fileName: CHANGELOG.md
19+
checkNotification: Simple
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## Unreleased
99

1010
### Added
11+
* Support to python 3.10.
12+
* Added Changelog check in PRs.
1113

1214
### Changed
15+
* Updated github workflow.
1316

1417
### Removed
1518

0 commit comments

Comments
 (0)