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-07-14 18:31:27 +03:00
|
|
|
sudo apt-get install -y
|
2020-07-14 17:47:15 +03:00
|
|
|
fish git
|
|
|
|
curl
|
|
|
|
python3 python3-venv
|
2020-07-11 06:07:00 +03:00
|
|
|
|
2020-07-12 07:26:30 +03:00
|
|
|
- name: Install Tide unattended
|
|
|
|
run: source "$GITHUB_WORKSPACE/tools/tide_install.fish" && tide_install -lu "$GITHUB_WORKSPACE"
|
|
|
|
|
|
|
|
- name: Install fisher and fishtape
|
|
|
|
run: tide test -i
|
2020-07-11 06:07:00 +03:00
|
|
|
|
|
|
|
- name: Run all tests
|
2020-07-12 06:59:30 +03:00
|
|
|
run: tide test -a
|