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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

2
Cargo.lock generated
View File

@@ -3775,7 +3775,7 @@ dependencies = [
[[package]]
name = "sendme"
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 = [
"abao",
"anyhow",

View File

@@ -65,7 +65,7 @@ regex = "1.7"
rusqlite = { version = "0.27", features = ["sqlcipher"] }
rust-hsluv = "0.1"
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 = { version = "1.0", features = ["derive"] }
sha-1 = "0.10"