Skip to content

Commit

Permalink
Stop running spec/usermanual
Browse files Browse the repository at this point in the history
  • Loading branch information
nygrenh committed Aug 2, 2024
1 parent 4890344 commit 2338484
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 25 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,28 +112,4 @@ jobs:
- name: Setup database & test env
run: docker compose run web bin/rake db:create db:schema:load RAILS_ENV=test
- name: Run spec_integration tests
run: docker compose run web bin/spec_integration

spec_usermanual:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: false
- name: Setup git submodules
run: |
sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
git submodule update --init --recursive
- name: Docker compose build
run: docker compose build
- name: Setup database & test env
run: docker compose run web bin/rake db:create db:schema:load RAILS_ENV=test
- name: Run spec_usermanual tests
run: docker compose run web bin/spec_usermanual
- name: Update manual to testmycode-usermanual
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: doc/usermanual
target-folder: usermanual
run: docker compose run web bin/spec_integration
3 changes: 3 additions & 0 deletions spec/usermanual/usermanual_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ def make_page(name)
end

it 'has a page for custom course creation manual' do
pending
make_page 'customcourse'
end

it 'has a page for admins' do
pending
make_page 'admins'
end

it 'has a page for teachers' do
pending
make_page 'teachers'
end
end

0 comments on commit 2338484

Please sign in to comment.