Skip to content

Commit

Permalink
Using rye for Python and package management
Browse files Browse the repository at this point in the history
  • Loading branch information
pchakraborty committed Aug 12, 2024
1 parent b55a27c commit 6530f49
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,17 @@ jobs:

name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Checkout code
uses: actions/checkout@v4

- name: Install dependencies
- name: Setup rye (multiOS)
uses: atu4403/setup-rye-multiOS@v1
run: |
python -m pip install --upgrade pip
pip install -r requirements.lock
timeout-minutes: 5
rye pin ${{ matrix.python-version }}
rye sync
- name: Run tests
run: |
export PYTHONPATH=$(pwd)/src:$PYTHONPATH
python tests/test_mepo_commands.py -v
timeout-minutes: 5

0 comments on commit 6530f49

Please sign in to comment.