ci: consistently capitalize job names

This commit is contained in:
link2xt
2023-02-11 16:06:32 +00:00
parent 7f313c803e
commit 51ee564246
5 changed files with 32 additions and 32 deletions

View File

@@ -88,30 +88,30 @@ jobs:
- name: Cache rust cargo artifacts
uses: swatinem/rust-cache@v2
- name: check
- name: Check
run: cargo check --all --bins --examples --tests --benches
- name: tests
- name: Tests
run: cargo test --all
- name: test cargo vendor
- name: Test cargo vendor
run: cargo vendor
- name: install python
- name: Install python
if: ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: install tox
- name: Install tox
if: ${{ matrix.python }}
run: pip install tox
- name: build C library
- name: Build C library
if: ${{ matrix.python }}
run: cargo build -p deltachat_ffi --features jsonrpc
- name: run python tests
- name: Run python tests
if: ${{ matrix.python }}
env:
DCC_NEW_TMP_EMAIL: ${{ secrets.DCC_NEW_TMP_EMAIL }}
@@ -120,28 +120,28 @@ jobs:
working-directory: python
run: tox -e lint,mypy,doc,py3
- name: build 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
- name: Add deltachat-rpc-server to path
if: ${{ matrix.python }}
run: echo ${{ github.workspace }}/target/debug >> $GITHUB_PATH
- name: run deltachat-rpc-client tests
- 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
- name: Install pypy
if: ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: 'pypy${{ matrix.python }}'
- name: run pypy tests
- name: Run pypy tests
if: ${{ matrix.python }}
env:
DCC_NEW_TMP_EMAIL: ${{ secrets.DCC_NEW_TMP_EMAIL }}

View File

@@ -12,14 +12,14 @@ jobs:
name: 'Package @deltachat/jsonrpc-client and upload to download.delta.chat'
runs-on: ubuntu-18.04
steps:
- name: install tree
- name: Install tree
run: sudo apt install tree
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: get tag
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
continue-on-error: true
@@ -38,11 +38,11 @@ jobs:
npm --version
node --version
echo $DELTACHAT_JSONRPC_TAR_GZ
- name: install dependencies without running scripts
- name: Install dependencies without running scripts
run: |
cd deltachat-jsonrpc/typescript
npm install --ignore-scripts
- name: package
- name: Package
shell: bash
run: |
cd deltachat-jsonrpc/typescript
@@ -65,7 +65,7 @@ jobs:
chmod 600 __TEMP_INPUT_KEY_FILE
scp -o StrictHostKeyChecking=no -v -i __TEMP_INPUT_KEY_FILE -P "22" -r deltachat-jsonrpc/typescript/$DELTACHAT_JSONRPC_TAR_GZ "${{ secrets.USERNAME }}"@"download.delta.chat":"/var/www/html/download/node/preview/"
continue-on-error: true
- name: "Post links to details"
- name: Post links to details
if: steps.upload-preview.outcome == 'success'
run: node ./node/scripts/postLinksToDetails.js
env:

View File

@@ -9,7 +9,7 @@ on:
jobs:
prebuild:
name: 'prebuild'
name: Prebuild
runs-on: ${{ matrix.os }}
strategy:
matrix:
@@ -65,17 +65,17 @@ jobs:
pack-module:
needs: prebuild
name: 'Package deltachat-node and upload to download.delta.chat'
name: Package deltachat-node and upload to download.delta.chat
runs-on: ubuntu-18.04
steps:
- name: install tree
- name: Install tree
run: sudo apt install tree
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: get tag
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
continue-on-error: true
@@ -97,15 +97,15 @@ jobs:
npm --version
node --version
echo $DELTACHAT_NODE_TAR_GZ
- name: Download ubuntu prebuild
- name: Download Ubuntu prebuild
uses: actions/download-artifact@v1
with:
name: ubuntu-18.04
- name: Download macos prebuild
- name: Download macOS prebuild
uses: actions/download-artifact@v1
with:
name: macos-latest
- name: Download windows prebuild
- name: Download Windows prebuild
uses: actions/download-artifact@v1
with:
name: windows-latest
@@ -117,23 +117,23 @@ jobs:
tar -xvzf windows-latest/windows-latest.tar.gz -C node/prebuilds
tree node/prebuilds
rm -rf ubuntu-18.04 macos-latest windows-latest
- name: install dependencies without running scripts
- name: Install dependencies without running scripts
run: |
npm install --ignore-scripts
- name: build constants
- name: Build constants
run: |
npm run build:core:constants
- name: build typescript part
- name: Build TypeScript part
run: |
npm run build:bindings:ts
- name: package
- name: Package
shell: bash
run: |
mv node/README.md README.md
npm pack .
ls -lah
mv $(find deltachat-node-*) $DELTACHAT_NODE_TAR_GZ
- name: Upload Prebuild
- name: Upload prebuild
uses: actions/upload-artifact@v3
with:
name: deltachat-node.tgz
@@ -148,7 +148,7 @@ jobs:
chmod 600 __TEMP_INPUT_KEY_FILE
scp -o StrictHostKeyChecking=no -v -i __TEMP_INPUT_KEY_FILE -P "22" -r $DELTACHAT_NODE_TAR_GZ "${{ secrets.USERNAME }}"@"download.delta.chat":"/var/www/html/download/node/preview/"
continue-on-error: true
- name: "Post links to details"
- name: Post links to details
if: steps.upload-preview.outcome == 'success'
run: node ./node/scripts/postLinksToDetails.js
env:

View File

@@ -9,7 +9,7 @@ on:
jobs:
tests:
name: 'tests'
name: Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:

View File

@@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: build
- name: Build
run: cargo build -p deltachat-repl --features vendored
- name: Upload binary