-
Notifications
You must be signed in to change notification settings - Fork 3
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
Make tests faster (i.a. using fixtures) #21
Comments
I think what would also help is to create a logical pipeline for the tests. This might save time by making the tests more specific, using workflows that are dependent on one another. https://github.blog/enterprise-software/ci-cd/build-ci-cd-pipeline-github-actions-four-steps/ |
Something like this should work I think: name: Test Pipeline
on: [push, pull_request]
runs-on: ubuntu-latest
jobs:
ahn:
steps:
- name: ahn
run: |
tox -e ahn
tno:
steps:
- name: ahn
run: |
tox -e regis
tox -e geotop
jarkus:
steps:
- name: jarkus
run: |
tox -e jarkus
bgt:
steps:
- name: bgt
run: |
tox -e bgt
base_model:
needs: [ahn, tno, jarkus, bgt]
steps:
- name: base_model
run: |
tox -e base_model
grid_refine:
needs: [base_model]
steps:
- name: grid_refine
run: |
tox -e grid_refine
uzf:
needs: [base_model]
steps:
- name: uzf
run: |
tox -e uzf
modpath:
needs: [base_model]
steps:
- name: modpath
run: |
tox -e modpath
|
Is data stored between steps when you implement the CI this? I assume so, but I haven't checked. Do you know? |
hopefully make testing a bit more efficient?
The text was updated successfully, but these errors were encountered: