3 ms·
I’m not sure the niggles here are platform things - they’re hard lessons that come from experience in using CI for the most part. Generally you want to aim for
by rpep 4y ago
I’m not sure the niggles here are platform things - they’re hard lessons that come from experience in using CI for the most part.
Generally you want to aim for writing things in scripts that your CI system calls, so that they can be run locally trivially and so that migrating away from one CI provider (for whatever reason - cost, employer decides to shift, etc.) is not a huge piece of work.
- chillfox 4y agoSo if we have to use a script anyway, then why do we have to write like 20+ lines of YAML to run the script? Edit: I mean, why is this not the config if we are just doing a script? src: github.com/... run: test_and_build.sh
- rpep 4y agoIt's not that bad: jobs: unit-tests: runs-on: python:3.8.15-slim-buster - name: "Run tests" working-directory: ./bin run: unit-tests.sh