Skip to content

Commit

Permalink
tidy unit-tests yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
leej3 committed Jun 24, 2024
1 parent 12d3215 commit 23037ef
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: Unit Tests
on: [push, pull_request]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
test:
runs-on: ubuntu-latest

Expand All @@ -11,6 +17,7 @@ jobs:
python-version: [3.9]

steps:

- name: Checkout repository
uses: actions/checkout@v2

Expand All @@ -34,8 +41,12 @@ jobs:
- name: Start ScienceBeam Docker container
run: |
docker run -d --rm -p 8082:8070 elifesciences/sciencebeam-parser
docker run -d --rm -p 8070 elifesciences/sciencebeam-parser
- name: Run tests
run: |
tox
- name: Test packaging
run: |
tox -e .package

0 comments on commit 23037ef

Please sign in to comment.