more bug hunting: disable most ci, point to branch

This commit is contained in:
Floris Bruynooghe
2023-02-16 09:00:27 +01:00
parent e565e19b42
commit bb9a3d4b8e
12 changed files with 90 additions and 90 deletions

View File

@@ -84,58 +84,58 @@ jobs:
- name: Tests - name: Tests
run: cargo test --workspace run: cargo test --workspace
- name: Test cargo vendor # - name: Test cargo vendor
run: cargo vendor # run: cargo vendor
- name: Install python # - name: Install python
if: ${{ matrix.python }} # if: ${{ matrix.python }}
uses: actions/setup-python@v4 # uses: actions/setup-python@v4
with: # with:
python-version: ${{ matrix.python }} # python-version: ${{ matrix.python }}
- name: Install tox # - name: Install tox
if: ${{ matrix.python }} # if: ${{ matrix.python }}
run: pip install tox # run: pip install tox
- name: Build C library # - name: Build C library
if: ${{ matrix.python }} # if: ${{ matrix.python }}
run: cargo build -p deltachat_ffi --features jsonrpc # run: cargo build -p deltachat_ffi --features jsonrpc
- name: Run python tests # - name: Run python tests
if: ${{ matrix.python }} # if: ${{ matrix.python }}
env: # env:
DCC_NEW_TMP_EMAIL: ${{ secrets.DCC_NEW_TMP_EMAIL }} # DCC_NEW_TMP_EMAIL: ${{ secrets.DCC_NEW_TMP_EMAIL }}
DCC_RS_TARGET: debug # DCC_RS_TARGET: debug
DCC_RS_DEV: ${{ github.workspace }} # DCC_RS_DEV: ${{ github.workspace }}
working-directory: python # working-directory: python
run: tox -e lint,mypy,doc,py3 # run: tox -e lint,mypy,doc,py3
- name: Build deltachat-rpc-server # - name: Build deltachat-rpc-server
if: ${{ matrix.python }} # if: ${{ matrix.python }}
run: cargo build -p deltachat-rpc-server # run: cargo build -p deltachat-rpc-server
- name: Add deltachat-rpc-server to path # - name: Add deltachat-rpc-server to path
if: ${{ matrix.python }} # if: ${{ matrix.python }}
run: echo ${{ github.workspace }}/target/debug >> $GITHUB_PATH # run: echo ${{ github.workspace }}/target/debug >> $GITHUB_PATH
- name: Run deltachat-rpc-client tests # - name: Run deltachat-rpc-client tests
if: ${{ matrix.python }} # if: ${{ matrix.python }}
env: # env:
DCC_NEW_TMP_EMAIL: ${{ secrets.DCC_NEW_TMP_EMAIL }} # DCC_NEW_TMP_EMAIL: ${{ secrets.DCC_NEW_TMP_EMAIL }}
working-directory: deltachat-rpc-client # working-directory: deltachat-rpc-client
run: tox -e py3,lint # run: tox -e py3,lint
- name: Install pypy # - name: Install pypy
if: ${{ matrix.python }} # if: ${{ matrix.python }}
uses: actions/setup-python@v4 # uses: actions/setup-python@v4
with: # with:
python-version: 'pypy${{ matrix.python }}' # python-version: 'pypy${{ matrix.python }}'
- name: Run pypy tests # - name: Run pypy tests
if: ${{ matrix.python }} # if: ${{ matrix.python }}
env: # env:
DCC_NEW_TMP_EMAIL: ${{ secrets.DCC_NEW_TMP_EMAIL }} # DCC_NEW_TMP_EMAIL: ${{ secrets.DCC_NEW_TMP_EMAIL }}
DCC_RS_TARGET: debug # DCC_RS_TARGET: debug
DCC_RS_DEV: ${{ github.workspace }} # DCC_RS_DEV: ${{ github.workspace }}
working-directory: python # working-directory: python
run: tox -e pypy3 # run: tox -e pypy3

View File

@@ -1,5 +1,5 @@
name: Dependabot auto-approve name: Dependabot auto-approve
on: pull_request # on: pull_request
permissions: permissions:
pull-requests: write pull-requests: write

View File

@@ -1,10 +1,10 @@
name: 'jsonrpc js client build' name: 'jsonrpc js client build'
on: # on:
pull_request: # pull_request:
push: # push:
tags: # tags:
- '*' # - '*'
- '!py-*' # - '!py-*'
jobs: jobs:

View File

@@ -1,10 +1,10 @@
name: JSON-RPC API Test name: JSON-RPC API Test
on: # on:
push: # push:
branches: [master] # branches: [master]
pull_request: # pull_request:
branches: [master] # branches: [master]
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always

View File

@@ -1,9 +1,9 @@
# documentation: https://github.com/deltachat/sysadmin/tree/master/download.delta.chat # documentation: https://github.com/deltachat/sysadmin/tree/master/download.delta.chat
name: Delete node PR previews name: Delete node PR previews
on: # on:
pull_request: # pull_request:
types: [closed] # types: [closed]
jobs: jobs:
delete: delete:

View File

@@ -1,9 +1,9 @@
name: Generate & upload node.js documentation name: Generate & upload node.js documentation
on: # on:
push: # push:
branches: # branches:
- master # - master
jobs: jobs:
generate: generate:

View File

@@ -1,10 +1,10 @@
name: 'node.js build' name: 'node.js build'
on: # on:
pull_request: # pull_request:
push: # push:
tags: # tags:
- '*' # - '*'
- '!py-*' # - '!py-*'
jobs: jobs:

View File

@@ -1,11 +1,11 @@
name: 'node.js tests' name: 'node.js tests'
on: # on:
pull_request: # pull_request:
push: # push:
branches: # branches:
- master # - master
- staging # - staging
- trying # - trying
jobs: jobs:
tests: tests:

View File

@@ -1,10 +1,10 @@
name: Build & Deploy Documentation on rs.delta.chat name: Build & Deploy Documentation on rs.delta.chat
on: # on:
push: # push:
branches: # branches:
- master # - master
- docs-gh-action # - docs-gh-action
jobs: jobs:
build: build:

View File

@@ -1,10 +1,10 @@
name: Build & Deploy Documentation on cffi.delta.chat name: Build & Deploy Documentation on cffi.delta.chat
on: # on:
push: # push:
branches: # branches:
- master # - master
- docs-gh-action # - docs-gh-action
jobs: jobs:
build: build:

2
Cargo.lock generated
View File

@@ -3775,7 +3775,7 @@ dependencies = [
[[package]] [[package]]
name = "sendme" name = "sendme"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/n0-computer/sendme?branch=main#2edb528007dd773e7f00fd4dd460506c8abf1681" source = "git+https://github.com/n0-computer/sendme?branch=flub/debug-ci#fc368a5b3070029488c0380c37eec1fc92f972eb"
dependencies = [ dependencies = [
"abao", "abao",
"anyhow", "anyhow",

View File

@@ -65,7 +65,7 @@ regex = "1.7"
rusqlite = { version = "0.27", features = ["sqlcipher"] } rusqlite = { version = "0.27", features = ["sqlcipher"] }
rust-hsluv = "0.1" rust-hsluv = "0.1"
sanitize-filename = "0.4" sanitize-filename = "0.4"
sendme = { git = "https://github.com/n0-computer/sendme", branch = "main", default-features = false } sendme = { git = "https://github.com/n0-computer/sendme", branch = "flub/debug-ci", default-features = false }
serde_json = "1.0" serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
sha-1 = "0.10" sha-1 = "0.10"