Merge branch 'hotfix-petrzpav' into prod-0 #1115
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: [push, pull_request] | |
jobs: | |
shellcheck: | |
name: Shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master | |
test: | |
name: BUTT tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install BUTT | |
run: | | |
curl -sL https://github.com/InternetGuru/butt/releases/download/v0.3.0/butt.sh > butt | |
chmod +x butt | |
- name: Create token file | |
run: echo "$ACADEMY_GITLAB_ACCESS_TOKEN" > "$HOME/.ACADEMY_GITLAB_ACCESS_TOKEN" | |
- name: Add current dir into PATH | |
run: pwd >> $GITHUB_PATH | |
- name: Run distribute tests | |
shell: 'script -q -e -c "bash {0}"' | |
run: butt -v test/distribute.butt | |
env: | |
TERM: dumb | |
ACADEMY_GITLAB_ACCESS_TOKEN: ${{ secrets.ACADEMY_GITLAB_ACCESS_TOKEN }} |