Skip to content

Commit

Permalink
Upgrade .circleci/config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Oct 12, 2024
1 parent 24cc300 commit c7e8a4a
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: 2.1

orbs:
codecov: codecov/codecov@3.2.2
node: circleci/node@5.1.0
codecov: codecov/codecov@4.2.0
node: circleci/node@6.2.0

jobs:
tests:
Expand All @@ -26,9 +26,11 @@ jobs:
- run: git submodule update --init
- run: sudo apt update
- run: sudo apt install -y rclone
- run: pip install --user tox
- run: pipx install tox
- run: tox -e py310
- codecov/upload
- store_test_results:
path: test-results

tests-ext-theme:
docker:
Expand All @@ -50,8 +52,10 @@ jobs:
- run: git submodule update --init
- run: sudo apt update
- run: sudo apt install -y rclone
- run: pip install --user tox
- run: pipx install tox
- run: tox -e ext-theme
- store_test_results:
path: test-results

tests-embedapi:
docker:
Expand All @@ -60,9 +64,11 @@ jobs:
- checkout
- run: git submodule sync
- run: git submodule update --init
- run: pip install --user 'tox<4'
- run: pipx install 'tox<4'
- run: tox --version
- run: tox -c tox.embedapi.ini
- store_test_results:
path: test-results

checks:
docker:
Expand All @@ -81,7 +87,7 @@ jobs:
- restore_cache:
keys:
- pre-commit-cache-{{ checksum "pre-commit-cache-key.txt" }}
- run: pip install --user 'tox<5'
- run: pipx install 'tox<5'
- run: tox -e pre-commit
- run: tox -e migrations
- node/install:
Expand All @@ -94,7 +100,6 @@ jobs:
- ~/.cache/pre-commit

workflows:
version: 2
test:
jobs:
- checks
Expand Down

0 comments on commit c7e8a4a

Please sign in to comment.