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

chore: Cleanup CI #1117

Merged
merged 72 commits into from
Aug 6, 2024
Merged
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
36c2998
wip
AlejandroCabeza Jun 5, 2024
e5b11a5
Deduplicate workflows, cleaner naming
AlejandroCabeza Jun 6, 2024
08bff89
Fix empty include/exclude on workflow
AlejandroCabeza Jun 6, 2024
95f20ef
Fix wrong json.
AlejandroCabeza Jun 6, 2024
3502c88
Fix input default value on non-call
AlejandroCabeza Jun 6, 2024
c146f75
Fix tests job naming
AlejandroCabeza Jun 6, 2024
2d21d54
Add some comments, split coverage by steps
AlejandroCabeza Jun 6, 2024
cb70494
Remove nim2 from base testing
AlejandroCabeza Jun 6, 2024
2e103b0
Update actions versions
AlejandroCabeza Jun 7, 2024
e7fb13b
Add memory management flag to test matrix, naming.
AlejandroCabeza Jun 10, 2024
0372da3
Fix nim_branch object keys.
AlejandroCabeza Jun 10, 2024
9e9ea68
Remove ci.yml again, add nim version 2.0 for base_tests.yml
AlejandroCabeza Jul 10, 2024
9401ab7
Move code formatter to different workflow
AlejandroCabeza Jul 10, 2024
0d692e7
Update dependencies workflow comments.
AlejandroCabeza Jul 17, 2024
1f402c3
Add comment for clarity.
AlejandroCabeza Jul 17, 2024
e6a1b65
Rename formatter to linter, and correct names.
AlejandroCabeza Jul 17, 2024
e016767
Only run linter on PR.
AlejandroCabeza Jul 17, 2024
577f6ec
Remove commented out code.
AlejandroCabeza Jul 17, 2024
b772766
Enable codecov on all PRs.
AlejandroCabeza Jul 17, 2024
d0ef28f
Remove CI yet again.
AlejandroCabeza Jul 17, 2024
761dd4e
Undo dependencies target ref misshap.
AlejandroCabeza Jul 17, 2024
bec1611
Remove unused step from codecov.
AlejandroCabeza Jul 17, 2024
c4bfddf
Improve naming on dependencies workflow.
AlejandroCabeza Jul 17, 2024
aa361b4
Temporarily enable daily runs on pull request event.
AlejandroCabeza Jul 18, 2024
b322115
Add concurrency groups for daily jobs
AlejandroCabeza Jul 18, 2024
d526d51
wip
AlejandroCabeza Jul 18, 2024
1cc7d86
wip
AlejandroCabeza Jul 18, 2024
ecb6e20
wip
AlejandroCabeza Jul 18, 2024
e3e2be5
wip
AlejandroCabeza Jul 18, 2024
e5fccf1
wip
AlejandroCabeza Jul 18, 2024
474d282
wip
AlejandroCabeza Jul 18, 2024
43133fa
wip
AlejandroCabeza Jul 18, 2024
02939c5
wip
AlejandroCabeza Jul 18, 2024
629e762
wip
AlejandroCabeza Jul 18, 2024
f9dd31e
wip
AlejandroCabeza Jul 19, 2024
e7f551f
wip
AlejandroCabeza Jul 19, 2024
dd21a3e
wip
AlejandroCabeza Jul 19, 2024
90fcc81
wip
AlejandroCabeza Jul 19, 2024
47a5ef8
wip
AlejandroCabeza Jul 19, 2024
29e2868
wip
AlejandroCabeza Jul 19, 2024
57c5786
wip
AlejandroCabeza Jul 19, 2024
c731116
wip
AlejandroCabeza Jul 19, 2024
8b08e3c
wip
AlejandroCabeza Jul 19, 2024
ac0265c
wip
AlejandroCabeza Jul 19, 2024
a36dcc0
wip
AlejandroCabeza Jul 19, 2024
142e87e
wip
AlejandroCabeza Jul 19, 2024
e10976b
wip
AlejandroCabeza Jul 19, 2024
943214b
wip
AlejandroCabeza Jul 19, 2024
ed0eada
wip
AlejandroCabeza Jul 19, 2024
249aba9
wip
AlejandroCabeza Jul 19, 2024
9bd17f9
wip
AlejandroCabeza Jul 19, 2024
6be966d
wip
AlejandroCabeza Jul 19, 2024
2409e9e
wip
AlejandroCabeza Jul 19, 2024
6f1c2d9
wip
AlejandroCabeza Jul 19, 2024
2b4dee4
wip
AlejandroCabeza Jul 19, 2024
e06d60e
wip
AlejandroCabeza Jul 19, 2024
7afc435
wip
AlejandroCabeza Jul 19, 2024
5d20e01
wip
AlejandroCabeza Jul 19, 2024
614d357
wip
AlejandroCabeza Jul 22, 2024
18396f5
wip
AlejandroCabeza Jul 22, 2024
31278c7
wip
AlejandroCabeza Jul 22, 2024
c03f4e5
wip
AlejandroCabeza Jul 22, 2024
11bd9de
wip
AlejandroCabeza Jul 22, 2024
c712daf
wip
AlejandroCabeza Jul 22, 2024
6f6a121
wip
AlejandroCabeza Jul 22, 2024
ad3eb64
wip
AlejandroCabeza Jul 22, 2024
2a1d38e
wip
AlejandroCabeza Jul 23, 2024
c5a3632
wip
AlejandroCabeza Jul 26, 2024
183c6a6
Merge branch 'master' into feature/cleanup-ci
AlejandroCabeza Aug 1, 2024
e9b3d24
Fix wrong keys.
AlejandroCabeza Aug 2, 2024
fd32a75
wip
AlejandroCabeza Aug 2, 2024
5d5af4f
Merge branch 'master' into feature/cleanup-ci
kaiserd Aug 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wip
AlejandroCabeza committed Jul 23, 2024
commit ad3eb64774ad6b638fe68af5a95ead040ec2d561
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -20,16 +20,12 @@ jobs:
platform:
- os: linux
cpu: amd64
shell: bash
- os: linux
cpu: i386
shell: bash
- os: macos
cpu: amd64
shell: bash
- os: windows
cpu: amd64
shell: msys2 {0}
nim:
- branch: version-1-6
memory_management: refc
8 changes: 4 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Coverage

on:
# On push to common branches, this computes the coverage PRs will compared against
# On push to common branches, this computes the coverage that PRs will use for diff
push:
branches:
- master
@@ -41,7 +41,7 @@ jobs:
if: ${{ steps.deps-cache.outputs.cache-hit != 'true' }}
run: |
nimble install_pinned
- name: Setup coverage
run: |
sudo apt-get update
@@ -54,7 +54,7 @@ jobs:
nimble testnative
nimble testpubsub
nimble testfilter
- name: Run coverage
run: |
find nimcache -name *.c -delete
@@ -63,7 +63,7 @@ jobs:
ls `pwd`/libp2p/{*,**/*}.nim
lcov --extract coverage/coverage.info `pwd`/libp2p/{*,**/*}.nim --output-file coverage/coverage.f.info
genhtml coverage/coverage.f.info --output-directory coverage/output
- name: Upload coverage to codecov
run: |
bash <(curl -s https://codecov.io/bash) -f coverage/coverage.f.info || echo "Codecov did not collect coverage reports"
16 changes: 9 additions & 7 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
@@ -8,17 +8,19 @@ on:

jobs:
update_version:
# Pushes new refs to interested external repositories, so they can do early testing against them.
# Pushes new refs to interested external repositories, so they can do early testing against libp2p's newer versions
runs-on: ubuntu-latest
name: Update libp2p's version for ${{ matrix.target.repository }}:${{ matrix.target.ref }}
strategy:
fail-fast: false
matrix:
target: [
{ repository: status-im/nimbus-eth2, ref: unstable },
{ repository: waku-org/nwaku, ref: master },
{ repository: codex-storage/nim-codex, ref: master }
]
target:
- repository: status-im/nimbus-eth2
ref: unstable
- repository: waku-org/nwaku
ref: master
- repository: codex-storage/nim-codex
ref: master
steps:
- name: Clone target repository
uses: actions/checkout@v4
@@ -27,7 +29,7 @@ jobs:
ref: ${{ matrix.target.ref}}
path: nbc
fetch-depth: 0
token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}

- name: Checkout this ref in target repository
run: |