forked from jonhoo/fantoccini
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
38 changed files
with
3,019 additions
and
473 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
coverage: | ||
range: 90..100 # set a high standard for ourselves | ||
round: down | ||
precision: 2 | ||
status: | ||
project: | ||
default: | ||
threshold: 1% | ||
ignore: | ||
- "ci" | ||
- "tests" | ||
# Make less noisy comments | ||
comment: | ||
layout: "files" | ||
require_changes: yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: cargo | ||
directory: / | ||
schedule: | ||
interval: daily |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
name: coverage | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install browsers | ||
run: | | ||
./ci/ubuntu-latest-firefox | ||
./ci/ubuntu-latest-chrome | ||
- name: Install cargo-tarpaulin | ||
uses: actions-rs/install@v0.1 | ||
with: | ||
crate: cargo-tarpaulin | ||
version: latest | ||
use-tool-cache: true | ||
- name: Generate code coverage | ||
run: | | ||
cargo tarpaulin --verbose --timeout 120 --out Xml | ||
- name: Upload to codecov.io | ||
uses: codecov/codecov-action@v2 | ||
with: | ||
fail_ci_if_error: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
on: | ||
push: | ||
branches: [master] | ||
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@v2 | ||
- name: Install cargo-hack | ||
uses: actions-rs/install@v0.1 | ||
with: | ||
crate: cargo-hack | ||
version: latest | ||
use-tool-cache: true | ||
- name: cargo hack | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: hack | ||
args: --feature-powerset --exclude-features bench_private check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
on: | ||
push: | ||
branches: [master] | ||
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@v2 | ||
- name: Install browsers | ||
run: | | ||
./ci/ubuntu-latest-firefox | ||
./ci/ubuntu-latest-chrome | ||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
name: Minimum Supported Rust Version | ||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: 1.53.0 # or patterns | ||
override: true | ||
- uses: actions/checkout@v2 | ||
- name: cargo +1.52.0 check | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
on: | ||
push: | ||
branches: [master] | ||
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@v2 | ||
- name: cargo fmt --check | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: fmt | ||
args: --check | ||
- name: cargo doc | ||
uses: actions-rs/cargo@v1 | ||
if: always() | ||
with: | ||
command: doc | ||
args: --no-deps --all-features | ||
- name: cargo clippy | ||
uses: actions-rs/clippy-check@v1 | ||
if: always() | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
name: cargo test | ||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
name: ${{ matrix.os }} / ${{ matrix.browser }} (${{ matrix.toolchain }}) | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
browser: [firefox, chrome] | ||
toolchain: [stable] | ||
include: | ||
- os: ubuntu-latest | ||
browser: chrome | ||
toolchain: beta | ||
- os: ubuntu-latest | ||
browser: chrome | ||
toolchain: nightly | ||
steps: | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: ${{ matrix.toolchain }} | ||
- uses: actions/checkout@v2 | ||
- name: Install ${{ matrix.browser }} | ||
run: | | ||
./ci/${{ matrix.os }}-${{ matrix.browser }} | ||
- name: cargo test | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: ${{ matrix.browser }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
target/ | ||
**/*.rs.bk | ||
Cargo.lock | ||
/.idea | ||
/.idea | ||
*.iml |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.