-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
execute runner jobs in container #1154
Conversation
8ba48c5
to
29f5480
Compare
78e53e1
to
8781cae
Compare
cargo llvm-cov -v --no-fail-fast --workspace --lcov --output-path lcov.info \ | ||
--ignore-filename-regex "^.*\/(mock\.rs|weights(\.rs)?|benchmarking\.rs).*$" \ | ||
--exclude "frequency,frequency-cli,frequency-runtime,frequency-service" \ | ||
--features all-frequency-features |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making sure the same crate is used to generate coverage in this workflow as in "Verify PR" one.
run-integration-tests: | ||
- '**/*.rs' | ||
- '**/Cargo.toml' | ||
- 'integration-tests/**/*.{ts,json}' | ||
- '.github/**/*.yml' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want changes in .github/
folder trigger all jobs as a sanity check. I found myself constantly adding a temporary delete file just to do the same.
|
||
# Workaround to handle skipped required check inside matrix | ||
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks | ||
build-binaries-dummy: | ||
needs: changes | ||
if: needs.changes.outputs.build-binary != 'true' | ||
runs-on: ubuntu-20.04 | ||
container: ubuntu:20.04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using official Ubuntu 20.04 image for now. I will probably create CI dedicated image in a subsequent PR with preinstalled tools and libs.
8781cae
to
d510e3f
Compare
d510e3f
to
0ee68f6
Compare
- name: Check Out Repo | ||
uses: actions/checkout@v3 | ||
- name: Reset Runner | ||
uses: ./.github/workflows/common/reset-self-hosted-runner |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for manually resetting anymore.
a8eaf1a
to
c4faf7c
Compare
c4faf7c
to
fe26f9b
Compare
Goal
The goal of this PR is to move jobs to docker executor in the following workflows:
Part of #1136