tide/.github/workflows/CI.yml

39 lines
777 B
YAML
Raw Normal View History

2020-08-02 21:33:06 +03:00
---
2020-07-11 06:07:00 +03:00
name: CI
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-20.04
defaults:
run:
shell: fish {0}
2020-07-11 06:07:00 +03:00
steps:
# Checks-out repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v2
- name: Install dependencies
shell: bash
2020-07-14 17:47:15 +03:00
run: >
2020-08-02 21:33:06 +03:00
sudo apt-get update -qq &&
sudo apt-get install --yes
2020-07-14 17:47:15 +03:00
curl
2020-08-02 21:33:06 +03:00
fish
git
python3
python3-venv
2020-07-11 06:07:00 +03:00
- name: Install Tide unattended
2020-08-02 21:33:06 +03:00
run: >
source "$GITHUB_WORKSPACE/tools/tide_install.fish" &&
tide_install --local --unattended "$GITHUB_WORKSPACE"
- name: Install fisher and fishtape
2020-07-21 00:11:59 +03:00
run: tide test --install
2020-07-11 06:07:00 +03:00
- name: Run all tests
2020-07-21 00:11:59 +03:00
run: tide test --all