CI tweaks
This commit is contained in:
parent
4031a6dcdb
commit
5208fce8fa
4 changed files with 7 additions and 18 deletions
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
|
|
@ -28,10 +28,10 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Dependencies (python)
|
||||
run: pip3 install -r requirements-dev.txt
|
||||
run: pip3 install -r requirements.txt -r requirements_server.txt
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
|
|
|
|||
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||
run: echo "$GITHUB_CONTEXT"
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
|
|
@ -30,8 +30,7 @@ jobs:
|
|||
|
||||
- name: Install deps
|
||||
run: |
|
||||
python -mpip install wheel
|
||||
python -mpip install -r requirements-dev.txt
|
||||
python -mpip install build wheel
|
||||
|
||||
- name: Build release
|
||||
run: python -mbuild
|
||||
|
|
|
|||
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
with:
|
||||
python-version: 3.x
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: pre-commit
|
||||
uses: pre-commit/action@v3.0.0
|
||||
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
test-release:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
|
|
@ -49,10 +49,7 @@ jobs:
|
|||
python-version: 3.11
|
||||
|
||||
- name: install deps
|
||||
run: pip install -r requirements-dev.txt
|
||||
|
||||
# - name: check types with mypy
|
||||
# run: make
|
||||
run: pip install build wheel
|
||||
|
||||
- name: Build release
|
||||
run: python -mbuild
|
||||
|
|
|
|||
|
|
@ -32,10 +32,3 @@ repos:
|
|||
args: [ --fix, --preview ]
|
||||
# Run the formatter.
|
||||
- id: ruff-format
|
||||
#- repo: local
|
||||
# hooks:
|
||||
# - id: mypy
|
||||
# name: Run the mypy type linter
|
||||
# language: system
|
||||
# types: [python]
|
||||
# entry: 'make mypy'
|
||||
|
|
|
|||
Loading…
Reference in a new issue