Skip to content
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

Github Workflow refactor #297

Merged
merged 9 commits into from
Jun 9, 2022
Merged

Conversation

jcortejoso
Copy link
Contributor

@jcortejoso jcortejoso commented May 19, 2022

Description

  • Remove Kovan tests from build.yaml workflow.
  • Add workflow that executes daily (at 5:30 UTC) that executes current build.yaml workflow, including kovan tests
  • Remove upload-artifacts.yml workflow (this atm must be executed locally by the contract deployer).
  • Fix Kovan tests

Is this PR related with an open issue?

Related to Issue #

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Follows the code style of this project.
  • Tests Cover Changes
  • Documentation

Funny gif

Put a link of a funny gif inside the parenthesis-->

@jcortejoso jcortejoso requested review from a team as code owners May 19, 2022 13:27
Comment on lines 30 to 43
- name: Compile and Lint
run: |
yarn lint
yarn clean
sh ./scripts/build.sh
yarn compile

- name: Run Unit Tests
run: |
yarn test:unit

- name: Run Integration Tests
run: |
yarn test:integration
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it make sense to lint and test before releasing? Typically you do a release on a green branch or you may want to do an rc release in a broken branch

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to remove. I copied the building process to generate the artifacts, but I agree validating the release should not be needed as we should not release/merge when that is not green in any case.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

@jcortejoso jcortejoso merged commit 980d086 into develop Jun 9, 2022
@jcortejoso jcortejoso deleted the jcortejoso/refactor-workflows branch June 9, 2022 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants