Skip to content

Commit

Permalink
no CodeQL hosted tool cache
Browse files Browse the repository at this point in the history
  • Loading branch information
szachovy committed Jun 22, 2024
1 parent 951721a commit eae5815
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,26 @@ jobs:
sudo apt update
sudo apt install --yes openssh-server=1:8.9p1-3ubuntu0.7
sudo apt install --yes tree
rm -rf /opt/hostedtoolcache/CodeQL
sudo service ssh start
- name: Initialize Terraform infrastructure
run: terraform init
working-directory: ./tests/setup

- name: Show VM metrics
run: cat /proc/cpuinfo && cat /proc/meminfo && df -h && du -h --max-depth=3 / | sort -rh | head -n 100
run: cat /proc/cpuinfo && cat /proc/meminfo && df -h
# && du -h --max-depth=3 / | sort -rh | head -n 100

# - name: Apply Terraform infrastructure
# run: terraform apply --auto-approve
# working-directory: ./tests/setup
- name: Apply Terraform infrastructure
run: terraform apply --auto-approve
working-directory: ./tests/setup

# - name: Run testsuite
# run: ansible-playbook --inventory inventory.yml deploy.yml
# working-directory: ./tests/testsuite
- name: Run testsuite
run: ansible-playbook --inventory inventory.yml deploy.yml
working-directory: ./tests/testsuite

# - name: Cleanup
# if: always()
# run: terraform destroy --auto-approve
# working-directory: ./tests/setup
- name: Cleanup
if: always()
run: terraform destroy --auto-approve
working-directory: ./tests/setup

0 comments on commit eae5815

Please sign in to comment.