Pre-merge rm
This commit is contained in:
parent
00e6eee93c
commit
fcf610389a
8 changed files with 0 additions and 274 deletions
21
.github/codecov.yml
vendored
21
.github/codecov.yml
vendored
|
|
@ -1,21 +0,0 @@
|
|||
# ref: https://docs.codecov.com/docs/codecovyml-reference
|
||||
coverage:
|
||||
# Hold ourselves to a high bar
|
||||
range: 85..100
|
||||
round: down
|
||||
precision: 1
|
||||
status:
|
||||
# ref: https://docs.codecov.com/docs/commit-status
|
||||
project:
|
||||
default:
|
||||
# Avoid false negatives
|
||||
threshold: 1%
|
||||
|
||||
# Test files aren't important for coverage
|
||||
ignore:
|
||||
- "tests"
|
||||
|
||||
# Make comments less noisy
|
||||
comment:
|
||||
layout: "files"
|
||||
require_changes: yes
|
||||
34
.github/workflows/coverage.yml
vendored
34
.github/workflows/coverage.yml
vendored
|
|
@ -1,34 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
name: coverage
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
components: llvm-tools-preview
|
||||
- name: Install cargo-llvm-cov
|
||||
uses: taiki-e/install-action@cargo-llvm-cov
|
||||
- name: Generate code coverage
|
||||
run: cargo llvm-cov --features test-full-imap --lcov --output-path lcov.info
|
||||
- name: Upload to codecov.io
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
services:
|
||||
cyrus_imapd:
|
||||
image: outoforder/cyrus-imapd-tester:latest
|
||||
ports:
|
||||
- 3025:25
|
||||
- 3143:143
|
||||
- 3465:465
|
||||
- 3993:993
|
||||
23
.github/workflows/features.yml
vendored
23
.github/workflows/features.yml
vendored
|
|
@ -1,23 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
name: cargo hack
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: Install cargo-hack
|
||||
uses: taiki-e/install-action@cargo-hack
|
||||
- name: cargo hack
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: hack
|
||||
args: --feature-powerset check --all-targets
|
||||
39
.github/workflows/minimal.yml
vendored
39
.github/workflows/minimal.yml
vendored
|
|
@ -1,39 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
name: With dependencies at minimal versions
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: nightly
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: cargo update -Zminimal-versions
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: update
|
||||
toolchain: nightly
|
||||
args: -Zminimal-versions
|
||||
- name: cargo test
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --features test-full-imap --all-targets
|
||||
services:
|
||||
cyrus_imapd:
|
||||
image: outoforder/cyrus-imapd-tester:latest
|
||||
ports:
|
||||
- 3025:25
|
||||
- 3143:143
|
||||
- 3465:465
|
||||
- 3993:993
|
||||
21
.github/workflows/msrv.yml
vendored
21
.github/workflows/msrv.yml
vendored
|
|
@ -1,21 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
name: Minimum Supported Rust Version
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: 1.56.1 # 2021 edition requires 1.56
|
||||
override: true
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: cargo +1.56.1 check
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
24
.github/workflows/os-check.yml
vendored
24
.github/workflows/os-check.yml
vendored
|
|
@ -1,24 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
name: os check
|
||||
jobs:
|
||||
os-check:
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macos-latest, windows-latest]
|
||||
steps:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
- uses: actions/checkout@v3
|
||||
- name: cargo check
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --all-features --all-targets
|
||||
48
.github/workflows/style.yml
vendored
48
.github/workflows/style.yml
vendored
|
|
@ -1,48 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
name: lint
|
||||
jobs:
|
||||
style:
|
||||
runs-on: ubuntu-latest
|
||||
name: ${{ matrix.toolchain }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
toolchain: [stable, beta]
|
||||
steps:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
components: rustfmt, clippy
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: cargo fmt --check
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
args: --check
|
||||
- name: cargo clippy
|
||||
uses: actions-rs/clippy-check@v1
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
doc:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: nightly
|
||||
- uses: actions/checkout@v3
|
||||
- name: cargo doc
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
command: doc
|
||||
args: --no-deps --all-features
|
||||
env:
|
||||
RUSTDOCFLAGS: --cfg docsrs
|
||||
64
.github/workflows/test.yml
vendored
64
.github/workflows/test.yml
vendored
|
|
@ -1,64 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
name: cargo test
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
name: greenmail/${{ matrix.toolchain }}
|
||||
strategy:
|
||||
matrix:
|
||||
toolchain: [stable, beta, nightly]
|
||||
steps:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: cargo test
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --all-targets
|
||||
services:
|
||||
greenmail:
|
||||
image: greenmail/standalone:1.6.8
|
||||
ports:
|
||||
- 3025:3025
|
||||
- 3110:3110
|
||||
- 3143:3143
|
||||
- 3465:3465
|
||||
- 3993:3993
|
||||
- 3995:3995
|
||||
env:
|
||||
GREENMAIL_OPTS: "-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose"
|
||||
test_cyrus:
|
||||
runs-on: ubuntu-latest
|
||||
name: cyrus/${{ matrix.toolchain }}
|
||||
strategy:
|
||||
matrix:
|
||||
toolchain: [stable, beta, nightly]
|
||||
steps:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: cargo test
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --features test-full-imap --all-targets
|
||||
services:
|
||||
cyrus_imapd:
|
||||
image: outoforder/cyrus-imapd-tester:latest
|
||||
ports:
|
||||
- 3025:25
|
||||
- 3143:143
|
||||
- 3465:465
|
||||
- 3993:993
|
||||
Loading…
Add table
Reference in a new issue