Skip to content

Commit

Permalink
set tests to use setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrizhu committed Feb 17, 2024
1 parent bb7be24 commit 0306adc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ jobs:

- name: Run tests
run: |
cd ..
cp -r try ~
cd ~/try
./setup.sh
scripts/run_tests.sh
- name: Upload script
Expand Down
5 changes: 5 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Vagrant.configure("2") do |config|
sudo apt-get install -y git expect curl
sudo chown -R vagrant:vagrant try
cd try
./setup.sh
scripts/run_tests.sh
"
end
Expand All @@ -27,6 +28,7 @@ Vagrant.configure("2") do |config|
sudo apt-get install -y curl
sudo chown -R vagrant:vagrant try
cd try
./setup.sh
mkdir rustup
./try -D rustup \"curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y\"
ls -lah rustup/upperdir/home/vagrant/.cargo/bin
Expand Down Expand Up @@ -65,6 +67,7 @@ Vagrant.configure("2") do |config|
sudo chown -R vagrant:vagrant /mnt/lv0/try
cd /mnt/lv0/try
./setup.sh
scripts/run_tests.sh
"
end
Expand All @@ -77,6 +80,7 @@ Vagrant.configure("2") do |config|
sudo yum install -y git expect curl
sudo chown -R vagrant:vagrant try
cd try
./setup.sh
TRY_TOP=$(pwd) scripts/run_tests.sh
"
end
Expand All @@ -89,6 +93,7 @@ Vagrant.configure("2") do |config|
sudo yum install -y git expect curl
sudo chown -R vagrant:vagrant try
cd try
./setup.sh
TRY_TOP=$(pwd) scripts/run_tests.sh
"
end
Expand Down
Empty file modified setup.sh
100644 → 100755
Empty file.

0 comments on commit 0306adc

Please sign in to comment.