Skip to content

Commit

Permalink
Merge pull request #190 from canonical/add-redirect-to-getting-started
Browse files Browse the repository at this point in the history
Added redirect for /get-started-with-charmed-kubeflow
  • Loading branch information
akbarkz authored Jan 14, 2025
2 parents acdb441 + cceb6a5 commit 368e72c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: yarn lint-scss

test-python:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
Expand All @@ -76,18 +76,21 @@ jobs:
sudo apt-get update && sudo apt-get install --yes python3-setuptools
sudo pip3 install -r requirements.txt
- name: Install dependencies
run: sudo pip3 install coverage
- name: Install dotrun
run: sudo pip3 install dotrun

- name: Install node dependencies
run: yarn install --immutable
run: sudo chmod -R 777 . && dotrun install

- name: Install dependencies
run: dotrun exec pip3 install coverage

- name: Build resources
run: yarn build
run: dotrun build

- name: Run tests with coverage
run: |
coverage run --source=. -m unittest discover tests
dotrun --env SEARCH_API_KEY=fake-key exec coverage run --source=. --module unittest discover tests
bash <(curl -s https://codecov.io/bash) -cF python
test-js:
Expand Down
1 change: 1 addition & 0 deletions redirects.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
tutorials/?: /docs
docs/get-started-with-charmed-kubeflow/?: /docs/get-started

0 comments on commit 368e72c

Please sign in to comment.