zoxide/.github/workflows/cargo-test.yml

28 lines
784 B
YAML
Raw Normal View History

2020-10-01 18:50:32 +00:00
name: cargo-test
on:
push:
pull_request:
jobs:
2020-10-01 20:23:00 +00:00
test:
2020-10-18 09:38:13 +00:00
runs-on: ubuntu-18.04
2020-10-01 18:50:32 +00:00
steps:
2020-10-01 20:44:48 +00:00
- run: sudo apt update
2020-10-18 09:38:13 +00:00
- run: sudo apt install wget apt-transport-https
- run: wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
- run: sudo dpkg -i packages-microsoft-prod.deb
- run: sudo apt update
- run: sudo add-apt-repository universe
- run: sudo apt install bash dash fish powershell shellcheck xonsh zsh
2020-10-01 18:50:32 +00:00
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-features --no-fail-fast