Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
test!: don't literally launch tutor and import demo course as part of CI
Browse files Browse the repository at this point in the history
This takes a long time to run and feels like overkill, especially
since the Demo Course maintainers regularly import this course into
a real instace.

While importing with Tutor for every PR might catch an OLX issue once
in a while, I think it's more likely that something about Tutor will
change and CI will start failing.

A better approach would be to just run olxcleaner on every PR.
  • Loading branch information
kdmccormick committed Jan 10, 2024
1 parent 6dd9005 commit fb0ef00
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,6 @@ on:
branches: ["main"]

jobs:
test_import:
runs-on: ubuntu-latest
steps:
- name: Check out this repo
uses: actions/checkout@v2

- name: Install latest Tutor
run: pip install tutor

- name: Disable tutor-mfe
run: |
tutor plugins disable mfe
tutor config save
- name: Launch Tutor
run: tutor local launch --non-interactive

# We need a user to exist, since all libraries need an owner.
# The Makefile assigns the library to the user named 'admin', so
# we name create an 'admin' user here.
- name: create admin user
run: tutor local do createuser admin [email protected] --password admin --staff --superuser

- name: import course & libraries
run: make import

source_and_tars_match:
runs-on: ubuntu-latest
Expand Down

0 comments on commit fb0ef00

Please sign in to comment.