Git Product home page Git Product logo

Comments (15)

ibab avatar ibab commented on August 18, 2024

I've forked the repo and will report back once I've come up with a way to set things up.

from first-analysis-steps.

alexpearce avatar alexpearce commented on August 18, 2024

Seeing as this will use Travis, we could also run make check as β€˜tests’. Gives a few warnings atm:

python tools/check.py .
ERROR: Missing file discussion.md.
ERROR: Missing file instructors.md.
ERROR: Missing file motivation.md.
ERROR: Missing file reference.md.
ERROR: In ./03-bookkeeping.md: Could not find the linked asset file data/MC_2012_27163003_Beam4000GeV2012MagDownNu2.5Pythia8_Sim08e_Digi13_Trig0x409f0045_Reco
14a_Stripping20NoPrescalingFlagged_ALLSTREAMS.DST in ./data/MC_2012_27163003_Beam4000GeV2012MagDownNu2.5Pythia8_Sim08e_Digi13_Trig0x409f0045_Reco14a_Stripping
20NoPrescalingFlagged_ALLSTREAMS.DST. If this is a URL, it must be prefixed with http(s):// or ftp://.
ERROR: In ./05-files-from-grid.md: Found callout box with unrecognized style 'prereq'
ERROR: In ./09-minimal-dv-job.md: Could not find the linked asset file data/MC_2012_27163003_Beam4000GeV2012MagDownNu2.5Pythia8_Sim08e_Digi13_Trig0x409f0045_R
eco14a_Stripping20NoPrescalingFlagged_ALLSTREAMS.DST in ./data/MC_2012_27163003_Beam4000GeV2012MagDownNu2.5Pythia8_Sim08e_Digi13_Trig0x409f0045_Reco14a_Stripp
ing20NoPrescalingFlagged_ALLSTREAMS.DST. If this is a URL, it must be prefixed with http(s):// or ftp://.
ERROR: In ./14-rerun-stripping.md: Could not find the linked asset file ./code/09-ntuple_options.py in ././code/09-ntuple_options.py. If this is a URL, it mus
t be prefixed with http(s):// or ftp://.
ERROR: In ./index.md: The linked page 03-bookkeeping.html exists, but the link text 'Find the dataset in the Bookkeeping' does not match the (sub)title of tha
t page, 'Finding data to process'.
ERROR: In ./index.md: The linked page 05-interactive-dst.html exists, but the link text 'Interactive look inside a DST with python' does not match the (sub)ti
tle of that page, 'Interactively exploring a DST'.
ERROR: In ./index.md: The linked page 14-rerun-stripping.html exists, but the link text 'Switch to a new stripping (20 -> 21) for one line in MC' does not mat
ch the (sub)title of that page, 'Running a specific stripping version on a DST'.
ERROR: In ./index.md: The document links to motivation.html, but could not find the expected markdown file ./motivation.md
ERROR: In ./index.md: The document links to reference.html, but could not find the expected markdown file ./reference.md
ERROR: In ./index.md: The document links to discussion.html, but could not find the expected markdown file ./discussion.md
ERROR: In ./index.md: The document links to instructors.html, but could not find the expected markdown file ./instructors.md
WARNING: Some errors were encountered during validation. See log for details.
make: *** [check] Error 1

from first-analysis-steps.

kdungs avatar kdungs commented on August 18, 2024

Yes, excellent. Tests should be used.

from first-analysis-steps.

ibab avatar ibab commented on August 18, 2024

Woa, that's cool

from first-analysis-steps.

betatim avatar betatim commented on August 18, 2024

πŸ‘ on auto builds. Maybe we should quiz the @swcarpentry lesson-template maintainers why they didn't switch to using travis (or if we can contribute that back if it works nicely)

from first-analysis-steps.

ibab avatar ibab commented on August 18, 2024

I'm close to getting it working, the main problem is that the pandoc version on travis is too old and doesn't support the --filter option.

from first-analysis-steps.

ibab avatar ibab commented on August 18, 2024

Okay, it's working at https://github.com/ibab/lhcb-first-analysis-steps.
The travis builds can be inspected here: https://travis-ci.org/ibab/lhcb-first-analysis-steps/builds/63633990.
The finished page is visible at http://ibab.github.io/lhcb-first-analysis-steps/.

You can test it by committing to the master branch (Only master is compiled for now).
If everyone is okay with using this, we can think about adding it to the actual repo (maybe when we switch to the lhcb org?).

from first-analysis-steps.

kdungs avatar kdungs commented on August 18, 2024

Igor, you're awesome! Will test it immediately.

from first-analysis-steps.

kdungs avatar kdungs commented on August 18, 2024

Sorry, hit the wrong button :D

from first-analysis-steps.

kdungs avatar kdungs commented on August 18, 2024

Works. As soon as we have the repo over at the org, we can integrate it.

from first-analysis-steps.

betatim avatar betatim commented on August 18, 2024

So what changes in our workflow?

  • we merge things into master instead of gh-pages
  • ...??
  • profit!

from first-analysis-steps.

kdungs avatar kdungs commented on August 18, 2024

So what changes in our workflow?

  • we merge things into master instead of gh-pages
  • Travis picks up the changes, builds the site, pushes the result to gh-pages (GitHub picks up the changes and displays them on the website), and runs the tests
  • profit!

from first-analysis-steps.

ibab avatar ibab commented on August 18, 2024

Note that make preview now places stuff in _site instead of the main directory.
We will have to set master as our default branch.
The rest should stay the same.

from first-analysis-steps.

kdungs avatar kdungs commented on August 18, 2024

Merci, Igor!

from first-analysis-steps.

betatim avatar betatim commented on August 18, 2024

🍻 πŸŽ† 🍰

from first-analysis-steps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.