Skip to content

Commit

Permalink
Improve category upsert and add test (#352)
Browse files Browse the repository at this point in the history
* Doe some updating and add test

* refrhes_from_db only path

* Add transaction that rollsback on error

* update versions
  • Loading branch information
viggo-devries authored Sep 17, 2024
1 parent 0105107 commit cdab4d2
Show file tree
Hide file tree
Showing 3 changed files with 608 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: ./src
- name: Setup Python 3.11
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install all dependencies
run: make install
- name: Run all linting
run: make lint
- name: Upload src dir as artefact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: src
path: ./src
Expand All @@ -38,12 +38,12 @@ jobs:
oscar-version: ["3.2"]
steps:
- name: Download src dir
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: src
path: ./src
- name: Setup Python 3.x
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install all dependencies
Expand Down
Loading

0 comments on commit cdab4d2

Please sign in to comment.