Update config
This commit is contained in:
parent
aefa7cef1b
commit
5b0c879fa0
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
@ -12,7 +12,7 @@ on:
|
|||
jobs:
|
||||
deploy:
|
||||
if: github.repository_owner == 'pylast'
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -24,7 +24,7 @@ jobs:
|
|||
with:
|
||||
python-version: "3.10"
|
||||
cache: pip
|
||||
cache-dependency-path: "setup.py"
|
||||
cache-dependency-path: setup.cfg
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
|
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -4,7 +4,7 @@ on: [push, pull_request, workflow_dispatch]
|
|||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
18
.github/workflows/require-pr-label.yml
vendored
Normal file
18
.github/workflows/require-pr-label.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: Require PR label
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, labeled, unlabeled, synchronize]
|
||||
|
||||
jobs:
|
||||
label:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: mheap/github-action-required-labels@v1
|
||||
with:
|
||||
mode: minimum
|
||||
count: 1
|
||||
labels:
|
||||
"changelog: Added, changelog: Changed, changelog: Deprecated, changelog:
|
||||
Fixed, changelog: Removed, changelog: Security, changelog: skip"
|
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
@ -12,10 +12,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["pypy-3.8", "3.7", "3.8", "3.9", "3.10"]
|
||||
os: [ubuntu-20.04]
|
||||
include:
|
||||
# Include new variables for Codecov
|
||||
- { codecov-flag: GHA_Ubuntu2004, os: ubuntu-20.04 }
|
||||
os: [ubuntu-latest]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -25,7 +22,7 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: pip
|
||||
cache-dependency-path: "setup.py"
|
||||
cache-dependency-path: setup.cfg
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
@ -45,5 +42,5 @@ jobs:
|
|||
- name: Upload coverage
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
flags: ${{ matrix.codecov-flag }}
|
||||
flags: ${{ matrix.os }}
|
||||
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
|
||||
|
|
Loading…
Reference in a new issue