From 4444bfe0b600c811656735702539b981150bde00 Mon Sep 17 00:00:00 2001 From: Patrick Wang Date: Mon, 8 Jul 2024 00:30:31 +0000 Subject: [PATCH] now installing dependencies --- .github/workflows/unittest_ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unittest_ci.yml b/.github/workflows/unittest_ci.yml index 5ce6fad..53e2e3a 100644 --- a/.github/workflows/unittest_ci.yml +++ b/.github/workflows/unittest_ci.yml @@ -12,10 +12,18 @@ jobs: steps: - uses: actions/checkout@v2 + # We could choose to set up dependencies manually in the GHA runner. + # + # However, I think it's better to do them in the GHA itself so that + # we're testing our dependency installation step in addition to our + # actual code. - name: Set up Python uses: actions/setup-python@v4 with: python-version: '3.10' - - name: Run a script + - name: Install dependencies + run: ./dependency/install_dependencies.sh + + - name: Run unit tests run: python scripts/run_unittests.py