Skip to content

Commit

Permalink
ci: reusable action --> workflow (pytest, jest)
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Sep 11, 2023
1 parent 5871741 commit 9c6229c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ on:

jobs:
pytest:
runs-on: ubuntu-latest
environment:
name: ${{ github.ref_name }}
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: PyTest
uses: ./.github/workflows/reusable/pytest.yml

- name: Frontend Tests
uses: ./.github/workflows/reusable/frontend_test.yml
uses: ./.github/workflows/reusable/pytest.yml
frontend-tests:
uses: ./.github/workflows/reusable/frontend_tests.yml
3 changes: 1 addition & 2 deletions .github/workflows/reusable/frontend_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v2
Expand Down

0 comments on commit 9c6229c

Please sign in to comment.