Skip to content

(release) Version up v0.21.0 (#304) #751

(release) Version up v0.21.0 (#304)

(release) Version up v0.21.0 (#304) #751

Workflow file for this run

name: tests
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches: [master]
jobs:
tests-linux:
runs-on: ubuntu-latest
steps:
- name: Checks-out repository
uses: actions/checkout@v2
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
- name: Set env variable
run: |
echo "PEARL_COMMIT_HASH=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_ENV
- name: Tests
uses: actions-rs/cargo@v1
with:
command: test
- name: Tests with async feature
uses: actions-rs/cargo@v1
with:
command: test
args: --features async-io-rio
tests-windows:
runs-on: windows-latest
steps:
- name: Checks-out repository
uses: actions/checkout@v2
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
- name: Set env variable
run: |
echo "PEARL_COMMIT_HASH=$($env:GITHUB_SHA.Substring(0, 8))" >> $env:GITHUB_ENV
- name: Tests
uses: actions-rs/cargo@v1
with:
command: test