Skip to content

Commit

Permalink
edited github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbinschmid committed Jan 20, 2024
1 parent 4f6792c commit c74908b
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Test package quality

on: push
Expand All @@ -14,18 +9,29 @@ jobs:
run_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: 'recursive' # Ensure submodules are checked out

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Install package
run: |
pip install -e .
pip install -e . # Install your package in editable mode
- name: Install submodule package
run: |
pip install ./trajectories/trajectory_generation # Adjust this path as necessary
- name: Unit tests
run: |
python -m pytest tests/
Expand Down

0 comments on commit c74908b

Please sign in to comment.