Skip to content

Commit

Permalink
chg: Bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Nov 14, 2023
1 parent db27ba3 commit 003a083
Show file tree
Hide file tree
Showing 3 changed files with 296 additions and 490 deletions.
32 changes: 22 additions & 10 deletions .github/workflows/test_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.10', '3.11', '3.12']
name: Python ${{ matrix.python-version }} sample

steps:
Expand All @@ -22,32 +22,44 @@ jobs:
with:
python-version: ${{matrix.python-version}}

- name: Install with poetry
run: |
python -m pip install --upgrade pip poetry
poetry install
echo PROJECTNAME_HOME=`pwd` > .env
- name: Clone Redis
uses: actions/checkout@v4
with:
repository: redis/redis
path: redis-tmp
ref: 7.2

- name: Install redis
run: |
mv redis-tmp ../redis
pushd ..
git clone https://github.com/antirez/redis.git
pushd redis
git checkout 6.2
make
popd
popd
- name: Run API tests
- name: Install with poetry
run: |
python -m pip install --upgrade pip poetry
poetry install
echo PROJECTNAME_HOME=`pwd` > .env
poetry run start
git clone https://github.com/Lookyloo/pyproject_template.git
- name: Clone pyproject_template
uses: actions/checkout@v4
with:
repository: Lookyloo/pyproject_template
path: pyproject_template

- name: Run API tests
run: |
pushd pyproject_template
poetry install
poetry run pytest tests/test_web.py
popd
- name: Stop instance
run: |
poetry run stop
- name: Test update script
Expand Down
Loading

0 comments on commit 003a083

Please sign in to comment.