8000 Fix and Improve CI 🦾 by p4checo · Pull Request #234 · Mindera/Alicerce · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix and Improve CI 🦾 #234

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

Merged
merged 5 commits into from
May 11, 2021
Merged

Fix and Improve CI 🦾 #234

merged 5 commits into from
May 11, 2021

Conversation

p4checo
Copy link
Member
@p4checo p4checo commented May 10, 2021

Checklist

Motivation and Context

The new GitHub Actions setup still had some issues on the Release workflow:

  • the workflow_run triggers whenever one of the dependencies run, and we want it to run when all complete

  • jobs' if conditions were incorrect, so they always ran

  • the jobs should use the current git ref and not the head branch.

  • carthage build was broken, and probably isn't necessary to release a .framework.zip anyway people should simply use their dependency manager of choice.

The CI was also lacking Carthage verification.

Description

  • Fix Release workflow issues:

    • Remove .framework.zip asset (and respective Carthage build) from Release workflow (isn't used by anyone, AFAIK).

    • Fix job if conditions.

    • Remove explicit ref from git checkout steps.

  • Unify ci, pod-lint and spm workflows into ci.yml, making it a single dependency for release while being easier to maintain.

  • Add carthage verification job to ci.yml.

  • Add new ./scripts/carthage.sh to work around Xcode 12 issues when running Carthage.

The new GitHub Actions setup is still failing for release builds, and
was lacking Carthage verification.

## Change

- Remove .framework.zip asset (and respective Carthage build) from
Release workflow (isn't used by anyone, AFAIK).

- Remove explicit `ref` from release jobs' checkout steps

- Unify `ci`, `pod-lint` and `spm` workflows into `ci.yml`, making it
easier to maintain.

- Add carthage verification job to `ci.yml`.

- Add new `./scripts/carthage.sh` to work around Xcode 12 issues when
running Carthage.
@codecov
Copy link
codecov bot commented May 10, 2021

Codecov Report

Merging #234 (66c4799) into master (56bcd2d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #234   +/-   ##
=======================================
  Coverage   94.99%   94.99%           
=======================================
  Files          97       97           
  Lines        3296     3296           
=======================================
  Hits         3131     3131           
  Misses        165      165           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56bcd2d...66c4799. Read the comment docs.

@p4checo p4checo merged commit c1744c6 into master May 11, 2021
@p4checo p4checo deleted the fix-and-improve-ci branch May 11, 2021 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

35ED
3 participants
0