Skip to content

Commit

Permalink
chore: copy workflow pattern from registration
Browse files Browse the repository at this point in the history
  • Loading branch information
BallardRobinett committed Feb 15, 2024
1 parent 657f711 commit 1796831
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1796831

Please sign in to comment.