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
|
|
|
|
|
2020-07-14 08:57:07 +03:00
|
|
|
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
|
2020-07-14 08:57:07 +03:00
|
|
|
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
|
|
|
|
2020-07-12 07:26:30 +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"
|
2020-07-12 07:26:30 +03:00
|
|
|
|
|
|
|
- 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
|