From 17968318ba14fbfdc4fded6f5ec6239a238e543a Mon Sep 17 00:00:00 2001 From: Ballard Date: Thu, 15 Feb 2024 12:13:07 -0500 Subject: [PATCH] chore: copy workflow pattern from registration --- .github/workflows/pytest.yaml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 68495e59..191b3632 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -7,22 +7,22 @@ on: branches: [main, develop, 73-initialize-pytest] jobs: - build: + install-dev-tools: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: dev env setup + uses: ./.github/actions/dev-env-setup + - run: yarn install --frozen-lockfile + working-directory: ./client + backend-tests: + needs: + ["install-dev-tools"] runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.9"] - steps: - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Test with pytest - run: | - pytest + - name: dev env setup + uses: ./.github/actions/dev-env-setup + - name: Run pytest + working-directory: ./bc_obps + run: make pythontests \ No newline at end of file