Add mention of HQ to README #318
Workflow file for this run
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
## Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md | |
## | |
## While our "example" application has the platform-specific code, | |
## for simplicity we are compiling and testing everything on the Ubuntu environment only. | |
## For multi-OS testing see the `cross.yml` workflow. | |
name: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- uses: Swatinem/rust-cache@v1 | |
- name: Build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
- name: Test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.6" | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install cython==0.29.15 numpy | |
pip install -r scripts/requirements.txt | |
- name: Test Python | |
run: python -m pytest tests | |
- name: Lint | |
uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: -- -D warnings | |
- name: Formatting | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all -- --check |