From 5283c73c5087d2fd80dd343ca2fd0fb32cc35740 Mon Sep 17 00:00:00 2001 From: Rafid Bin Mostofa Date: Sun, 18 Feb 2024 22:29:36 +0600 Subject: [PATCH] chore: fix failing tests, update github actions (#6) --- .github/workflows/tests.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e09c9ba..1488dc2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,14 +7,18 @@ on: branches: [ "master" ] jobs: - build: - name: Build + run-scripts: + name: Run scripts runs-on: ubuntu-22.04 steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + + - name: Tweak options to run on GitHub + run: | + # Ignore user-specific scripts for GitHub runners + sed -i 's/add_users.sh//g' scripts/run_order.txt + sed -i 's/copy_admin_scripts.sh//g' scripts/run_order.txt - # Runs a single command using the runners shell - name: Run the scripts run: | - sudo bash install.sh + sudo ./install.sh