Update main.yml #20
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: Run Testing | |
on: [pull_request, push] | |
jobs: | |
testing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Testing Dependencies | |
run: | | |
sudo apt-get update -qq -y | |
sudo apt-get install -qq -y bash curl shellcheck | |
sudo curl -s -o /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2 | |
sudo chmod a+x /usr/local/bin/shunit2 | |
- name: Run Tests | |
env: | |
TERM: xterm-256color | |
run: | | |
shellcheck -s bash -x bin/terraform-install | |
sudo make install | |
command -v tfm | |
- name: Upload crash artifact | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: artifacts | |
path: ./out/artifacts |