2020-07-11 06:07:00 +03:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
|
|
|
|
steps:
|
|
|
|
# Checks-out repository under $GITHUB_WORKSPACE
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Install dependencies
|
2020-07-12 07:31:37 +03:00
|
|
|
run: sudo apt-get install -y fish curl git
|
2020-07-11 06:07:00 +03:00
|
|
|
|
2020-07-12 07:26:30 +03:00
|
|
|
- name: Install Tide unattended
|
2020-07-11 06:07:00 +03:00
|
|
|
shell: fish {0}
|
2020-07-12 07:26:30 +03:00
|
|
|
run: source "$GITHUB_WORKSPACE/tools/tide_install.fish" && tide_install -lu "$GITHUB_WORKSPACE"
|
|
|
|
|
|
|
|
- name: Install testing dependencies
|
|
|
|
shell: fish {0}
|
2020-07-12 07:31:37 +03:00
|
|
|
run: sudo apt-get install -y python3 python3-venv
|
2020-07-12 07:26:30 +03:00
|
|
|
|
|
|
|
- name: Install fisher and fishtape
|
|
|
|
shell: fish {0}
|
|
|
|
run: tide test -i
|
2020-07-11 06:07:00 +03:00
|
|
|
|
|
|
|
- name: Run all tests
|
|
|
|
shell: fish {0}
|
2020-07-12 06:59:30 +03:00
|
|
|
run: tide test -a
|