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

Arrow 2.0 #2778

Merged
merged 190 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
ed7f470
The beginning of Arrow 2.0
serras Jul 29, 2022
b164746
Merge branch 'main' into arrow-2
nomisRev Aug 4, 2022
7cc8335
Merge branch 'main' into arrow-2
nomisRev Aug 7, 2022
2b809dc
Merge branch 'main' into arrow-2
serras Aug 16, 2022
a239424
Merge branch 'main' into arrow-2
serras Aug 24, 2022
9156985
Merge branch 'main' into arrow-2
serras Aug 31, 2022
cfd44d9
Resource Arrow 2.0 (#2786)
nomisRev Sep 1, 2022
bf07694
[Arrow 2.0] Effect without suspending shift (#2797)
nomisRev Sep 2, 2022
770afcd
Merge branch 'main' into arrow-2
nomisRev Sep 12, 2022
e684586
Rename Shift to Raise according to Slack Poll, and add some initial d…
nomisRev Oct 5, 2022
6ec972f
Remove all references to shift from new Arrow 2.0 code (#2834)
nomisRev Oct 5, 2022
c30621d
Fixes merge conflict between main and arrow-2 (#2835)
nomisRev Oct 5, 2022
c5e122d
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Oct 6, 2022
f4054c7
Add Atomic module, and StateShift (#2817)
nomisRev Nov 17, 2022
5a03760
Merge branch 'main' into arrow-2
serras Nov 17, 2022
47b06a6
Change return type of raise to Nothing (#2839)
roomscape Nov 17, 2022
1d42e60
Merge branch 'main' into arrow-2
serras Nov 17, 2022
0df61a9
Merge branch 'main' into arrow-2
serras Nov 17, 2022
6b583e5
Merge branch 'main' into arrow-2
serras Dec 4, 2022
a927163
Update API files
serras Dec 4, 2022
b39de7c
Increase timeout
serras Dec 5, 2022
cf45dad
Fix compiler bug with nested inline + while + return
nomisRev Dec 5, 2022
7a472b8
Clean up ExitCase.fromError
nomisRev Dec 5, 2022
48c7bd5
Update API files@
serras Dec 5, 2022
fbba669
Feature/remove validated (#2795)
Atternatt Dec 5, 2022
44f1a93
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Dec 10, 2022
a826d11
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Dec 12, 2022
ec03b3d
Remove CancellationExceptionNoTrace.kt after merge, and run apiDump
nomisRev Dec 12, 2022
5bb704d
Add missing runnerJUnit5 for arrow-atomic JVM
nomisRev Dec 12, 2022
84ce8cb
Publish Arrow 2.0.0-SNAPSHOT (#2871)
nomisRev Dec 13, 2022
4ed1b82
Simplify optics to Traversal/Optional/Lens/Prism (#2873)
serras Dec 21, 2022
616d383
'mapOrAccumulate' for Raise (#2872)
serras Dec 22, 2022
f7b1b9d
Merge branch 'main' into arrow-2
serras Dec 29, 2022
5f90a74
Fix problems with Atomic
serras Dec 29, 2022
154658f
Smaller timeouts
serras Dec 29, 2022
15532c6
Merge branch 'main' into arrow-2
serras Jan 9, 2023
855d06b
Merge branch 'main' into arrow-2
serras Jan 9, 2023
5742086
Merge branch 'main' into arrow-2
serras Jan 11, 2023
39e326f
Remove Tuple10 to Tuple22, Const, Eval, computation blocks, and arrow…
serras Jan 12, 2023
c83ff43
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Jan 20, 2023
d6b867b
Revert typo
nomisRev Jan 20, 2023
1aa6abe
Fix build
nomisRev Jan 20, 2023
35dbcb9
Merge branch 'main' into arrow-2
nomisRev Jan 20, 2023
636d5d5
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Jan 25, 2023
ef44052
Fix ParMapJvmTest
nomisRev Jan 26, 2023
f31897a
Merge branch 'main' into arrow-2
nomisRev Jan 27, 2023
f5d17c9
Merge branch 'main' into arrow-2
serras Jan 31, 2023
1514b53
Implement NonEmptyList using value class (#2911)
serras Feb 3, 2023
facee3a
Merge branch 'main' into arrow-2
serras Feb 3, 2023
96108ca
Fix merge w.r.t. Saga
serras Feb 3, 2023
bee2a93
Merge branch 'main' into arrow-2
serras Feb 3, 2023
9aa9438
Merge branch 'main' into arrow-2
serras Feb 4, 2023
6d68d92
Merge branch 'main' into arrow-2
serras Feb 5, 2023
d6cc3c8
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Feb 7, 2023
bbe6ca1
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Feb 8, 2023
e718996
apiDump
nomisRev Feb 8, 2023
4701064
Test other return expression
nomisRev Feb 8, 2023
3761000
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Mar 1, 2023
a460c3b
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Mar 10, 2023
1cdb549
change unalign signature (#2972)
abendt Mar 24, 2023
61d44a6
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Mar 30, 2023
8f13a3e
Update after merge main
nomisRev Mar 30, 2023
206ab1d
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Mar 30, 2023
a51bcb2
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Mar 30, 2023
1e4daef
Fix :arrow-optics-ksp-plugin:compileKotlin
nomisRev Mar 30, 2023
9ccb65d
Fix Every instances
nomisRev Mar 30, 2023
cb8def0
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Mar 31, 2023
531deb1
Move functions to arrow functions (#3014)
nomisRev Mar 31, 2023
9ba97f2
Bring back `Iso` (#3013)
serras Mar 31, 2023
1818340
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Mar 31, 2023
c1c7207
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Mar 31, 2023
b230b44
Update BOM (#3019)
nomisRev Apr 3, 2023
f410ec5
Fix andThen duplication (#3020)
nomisRev Apr 3, 2023
8da0682
Merge branch 'main' into arrow-2
nomisRev Apr 3, 2023
78ff657
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Apr 4, 2023
4ace23c
Merge branch 'main' into arrow-2
nomisRev Apr 6, 2023
badc063
Merge branch 'main' into arrow-2
nomisRev Apr 8, 2023
d0e0378
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Jun 5, 2023
f498770
Merge branch 'main' into arrow-2
serras Jul 3, 2023
8a55a06
Fix Knit
serras Jul 3, 2023
a7c4c7b
Merge branch 'main' into arrow-2
serras Jul 5, 2023
f93ac0a
Fix weird problem with value classes
serras Jul 5, 2023
81adc52
Update API docs
serras Jul 5, 2023
c3672f9
Merge branch 'main' into arrow-2
serras Jul 6, 2023
094895b
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Jul 10, 2023
6524b17
Update publish workflow
serras Jul 10, 2023
1f4b2da
No closing repo on snapshot
serras Jul 10, 2023
6c3e7d7
Merge branch 'main' into arrow-2
serras Jul 10, 2023
8b80658
Merge branch 'main' into arrow-2
serras Jul 10, 2023
0abf89d
Merge branch 'main' into arrow-2
nomisRev Jul 11, 2023
da031aa
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Aug 29, 2023
797bcbe
knit
nomisRev Aug 29, 2023
e60b627
Fix optics tests
nomisRev Aug 30, 2023
6a613fd
Merge branch 'main' into arrow-2
nomisRev Sep 1, 2023
8051d2c
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Oct 18, 2023
8f022bb
Merge branch 'main' into arrow-2
nomisRev Oct 18, 2023
8bb1274
Fix after merge
nomisRev Oct 19, 2023
6955d01
Merge branch 'main' into arrow-2
serras Oct 24, 2023
8f12894
Refactor ParMapTest from Kotest Plugin to Kotlin-test runtime #3191 (…
asmadsen Oct 24, 2023
281d397
Merge branch 'main' into arrow-2
serras Oct 24, 2023
e75d31e
Refactor: Use Kotlin-test runtime for arrow-fx-stm tests (#3224)
molikuner Oct 25, 2023
6a44225
Update all Gradle files to mention kotlin.test
serras Oct 25, 2023
6daa91a
Merge branch 'main' into arrow-2
serras Oct 25, 2023
335bd90
Refactor ParZip2Test from Kotest Plugin to Kotlin-test runtime #3192 …
asmadsen Oct 26, 2023
edd0dd5
Refactor ParZip3Test from Kotest Plugin to Kotlin-test runtime #3193 …
asmadsen Oct 26, 2023
f384c5d
Refactor GuaranteeCaseTest to use kotlin test (#3226)
Gosunet Oct 26, 2023
67f9c0f
refactor: migrate NotEmptySetTest to kotlin-test (#3230)
milgner Oct 26, 2023
72aabc2
refactor: migrate EagerEffectSpec to kotlin-test (#3233)
milgner Oct 26, 2023
12b3ebf
Refactor NullableSpec from Kotest Plugin to Kotlin-test runtime (#3236)
abendt Oct 26, 2023
402c280
Refactor BracketCaseTest to use kotlin test (#3237)
Gosunet Oct 26, 2023
24d7abc
Merge branch 'main' into arrow-2
serras Oct 26, 2023
1fd3cbf
Move arrow-functions tests to kotlin.test (#3243)
serras Oct 28, 2023
a6f1e73
Inline `AtomicBoolean` (#3240)
serras Oct 29, 2023
1b68bfc
refactor: migrate MappersSpec to kotlin-test (#3248)
milgner Oct 29, 2023
2fa4f41
Refactor ResourceTestJvm from Kotest Plugin to Kotlin-test runtime (#…
chrsblck Oct 29, 2023
99b1bf0
refactor: migrate FlowJvmTest to Kotlin-test (#3228)
milgner Oct 29, 2023
fdf6e99
Refactor ParZip9JvmTest from Kotest Plugin to Kotlin-test runtime (#3…
chrsblck Oct 29, 2023
6b794a9
Refactor ParZip8JvmTest from Kotest Plugin to Kotlin-test runtime (#3…
chrsblck Oct 29, 2023
bd5baa2
refactor: migrate NumberInstancesTest to kotlin-test (#3232)
milgner Oct 31, 2023
9b6ce55
refactor: OptionTest to kotlin-test runtime (#3229)
milgner Oct 31, 2023
1c9087d
Revert "Inline `AtomicBoolean` (#3240)" (#3279)
serras Nov 2, 2023
1050868
Refactor ParZip6JvmTest from Kotest Plugin to Kotlin-test runtime (#3…
chrsblck Nov 2, 2023
85c2000
Refactor ParZip5JvmTest from Kotest Plugin to Kotlin-test runtime (#3…
chrsblck Nov 2, 2023
6bcb161
Refactor ParZip3JvmTest from Kotest Plugin to Kotlin-test runtime (#3…
chrsblck Nov 2, 2023
4ff4722
Refactor ParZip2JvmTest from Kotest Plugin to Kotlin-test runtime (#3…
chrsblck Nov 2, 2023
092838f
Refactor ParMapJvmTest from Kotest Plugin to Kotlin-test runtime (#3260)
chrsblck Nov 2, 2023
b8595b0
Refactor ParZip4JvmTest from Kotest Plugin to Kotlin-test runtime (#3…
chrsblck Nov 2, 2023
1b8ec54
refactor: migrate RaiseAccumulateSpec to kotlin-test (#3250)
milgner Nov 2, 2023
74a9222
Refactor ParZip7JvmTest from Kotest Plugin to Kotlin-test runtime (#3…
chrsblck Nov 2, 2023
40fcd76
Update ComparisonKtTest.kt (#3274)
Nov 2, 2023
4e0846e
Update OptionSpec.kt (#3271)
Nov 2, 2023
d15b5fc
Merge branch 'main' into arrow-2
serras Nov 4, 2023
6117dc4
Update TraceJvmSpec.kt (#3276)
Nov 4, 2023
162686d
Update ParZip9Test.kt (#3265)
Nov 4, 2023
b73aa22
Update ParZip8Test.kt (#3266)
Nov 4, 2023
d38c768
Update ParZip7Test.kt (#3267)
Nov 4, 2023
f72e042
Update ParZip6Test.kt (#3268)
Nov 4, 2023
6aad57d
Update ParZip5Test.kt (#3269)
Nov 4, 2023
19d1a29
Update ParZip4Test.kt (#3270)
Nov 4, 2023
d5caedd
Merge branch 'main' into arrow-2
serras Nov 7, 2023
d31a84b
Refactor CountDownLatchSpec and CyclicBarrierSpec to use kotlin test …
Gosunet Nov 7, 2023
89163f9
Refactor NonEmptyListTest to kotlin-test (#3231)
l2hyunwoo Nov 8, 2023
bcc46f3
refactor: migrate EffectSpec to kotlin-test (#3234)
milgner Nov 8, 2023
e35d935
Refactor FlowTest to use kotlin test (#3238)
Gosunet Nov 8, 2023
aa3402b
refactor: migrate IorSpec to kotlin-test (#3249)
milgner Nov 8, 2023
0cceefd
refactor: migrate ResultSpec to kotlin-test (#3251)
milgner Nov 8, 2023
9cdb86a
refactor: migrate StructuredConcurrencySpec to kotlin-test (#3252)
milgner Nov 8, 2023
045572e
refactor: migrate TraceSpec to kotlin-test (#3253)
milgner Nov 8, 2023
9e679ef
refactor: migrate GeneratorsTest to kotlin-test (#3254)
milgner Nov 8, 2023
ec6ff88
Refactor RaceNJvmTest from Kotest Plugin to Kotlin-test runtime (#3261)
chrsblck Nov 8, 2023
99a8e49
Update ArrowResponseEAdapterTest.kt (#3264)
Nov 8, 2023
33adc3c
Update CollectionsSyntaxTests.kt (#3273)
Nov 8, 2023
cc9bd47
Update NonFatalJvmTest.kt (#3277)
Nov 8, 2023
4ba933e
Update ArrowEitherCallAdapterTest.kt (#3278)
Nov 8, 2023
a359b79
Move tests from `serialization` and `functions` completely to `kotlin…
serras Nov 8, 2023
f137b22
Fix problems with tests
serras Nov 8, 2023
0c39851
Remove a bunch of warnings in `arrow-2` (#3282)
serras Nov 8, 2023
ad94840
Finish transition to `kotlin.test` of `retrofit` and `fx-coroutines` …
serras Nov 9, 2023
d5df449
Merge branch 'main' into arrow-2
serras Nov 9, 2023
da9d42e
Fix problems with concurrency in tests, take 8
serras Nov 9, 2023
457fcad
Port rest of `arrow-core` to `kotlin.test` (#3292)
serras Nov 11, 2023
708a872
Implement `fixedRate` using monotonic time source (#3294)
serras Nov 11, 2023
36e63e3
Port `optics` tests to `kotlin.test` (#3295)
serras Nov 11, 2023
e94a9b5
Add or fix contracts in Raise (#3293)
serras Nov 15, 2023
90ee0dc
Merge branch 'main' into arrow-2
serras Nov 30, 2023
379a8e5
Merge branch 'main' into arrow-2
serras Dec 20, 2023
c91d53a
Merge branch 'main' into arrow-2
serras Dec 21, 2023
91882ee
Merge branch 'main' into arrow-2
serras Jan 16, 2024
d4cb744
Merge branch 'main' into arrow-2
serras Jan 23, 2024
de48969
Alternate `SingletonRaise` (#3328)
serras Jan 23, 2024
8e2f530
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Jan 30, 2024
797b313
Merge branch 'main' into arrow-2
serras Feb 6, 2024
071d430
Remove (unused) tests for high-arity module
serras Feb 6, 2024
9c70ff4
Remove widen
serras Feb 6, 2024
076b361
Merge branch 'main' into arrow-2
serras Feb 6, 2024
af86f9f
Fix tests + Knit
serras Feb 6, 2024
c30c8b3
Merge branch 'main' into arrow-2
serras Feb 8, 2024
8a5b0e3
Merge branch 'main' into arrow-2
serras Feb 8, 2024
98049ba
Merge branch 'main' into arrow-2
serras Feb 18, 2024
9f254a3
Merge branch 'main' into arrow-2
serras Feb 19, 2024
dc1362a
Merge remote-tracking branch 'origin/main' into arrow-2
nomisRev Apr 13, 2024
680ecf0
Fix merge NullableSpec
nomisRev Apr 14, 2024
d5b188c
Regression in Arb.list?
nomisRev Apr 14, 2024
0c0a85e
Merge branch 'main' into arrow-2
serras Apr 16, 2024
2954f98
Merge branch 'main' into arrow-2
serras Apr 17, 2024
8d17795
Fix test for nonEmptyList
serras Apr 17, 2024
3232207
Develocity warning
serras Apr 17, 2024
570fe70
Merge branch 'main' into arrow-2
serras Apr 17, 2024
14ebd42
Fix merge problem with optics-ksp-plugin
serras Apr 17, 2024
5ba0e45
Fix timeout in test
serras Apr 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
161 changes: 161 additions & 0 deletions .github/unused_workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
name: "Publish all libs, Arrow-stack and Docs"

on:
push:
tags:
- '**'

env:
BASEDIR: ${{github.workspace}}/arrow-libs
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-Xmx5g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8"
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_PWD: ${{ secrets.SONATYPE_PWD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_signingKey }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_signingPassword }}
OSS_USER: '${{ secrets.OSS_USER }}'
OSS_TOKEN: '${{ secrets.OSS_TOKEN }}'
OSS_STAGING_PROFILE_ID: '${{ secrets.OSS_STAGING_PROFILE_ID }}'
SIGNING_KEY_NAME: '${{ secrets.SIGNING_KEY_NAME }}'
SIGNING_KEY_ID: '${{ secrets.SIGNING_KEY_ID }}'
SIGNING_KEY_PASSPHRASE: '${{ secrets.SIGNING_KEY_PASSPHRASE }}'
SIGNING_KEY: '${{ secrets.SIGNING_KEY }}'
GRADLE_PUBLISH_KEY: '${{ secrets.GRADLE_PUBLISH_KEY }}'
GRADLE_PUBLISH_SECRET: '${{ secrets.GRADLE_PUBLISH_SECRET }}'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_CLOUDFRONT_ID: ${{ secrets.AWS_CLOUDFRONT_ID }}
AWS_DEFAULT_REGION: eu-west-1
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
JEKYLL_ENV: production
S3_BUCKET: ${{ secrets.S3_BUCKET }}

jobs:
publish:
timeout-minutes: 90
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 11

- name: assemble
uses: gradle/gradle-build-action@v2
with:
arguments: assemble -Pkotlin.mpp.enableCompatibilityMetadataVariant=true

- name: Get Arrow version
id: version
run: echo "::set-output name=arrow::$(head -n 1 build/semver/version.txt)"

- name: Upload reports
if: failure()
uses: actions/upload-artifact@v3
with:
name: 'reports-${{ matrix.os }}'
path: '**/build/reports/**'

- name: Publish alpha/beta/rc version
uses: gradle/gradle-build-action@v2
if: |
contains(steps.version.outputs.arrow, 'alpha') ||
contains(steps.version.outputs.arrow, 'beta') ||
contains(steps.version.outputs.arrow, 'rc')
with:
arguments: -Pkotlin.mpp.enableCompatibilityMetadataVariant=true publishToSonatype closeAndReleaseSonatypeStagingRepository

- name: Publish final version
uses: gradle/gradle-build-action@v2
if: |
!contains(steps.version.outputs.arrow, 'alpha') &&
!contains(steps.version.outputs.arrow, 'beta') &&
!contains(steps.version.outputs.arrow, 'rc')
with:
arguments: -Pkotlin.mpp.enableCompatibilityMetadataVariant=true publishToSonatype closeSonatypeStagingRepository

- name: Prepare environment
working-directory: arrow-site
run: |
mkdir $BASEDIR/logs
brew install tree
bundle config set --local path 'vendor/bundle'
bundle install --gemfile Gemfile

- name: Create API doc
uses: gradle/gradle-build-action@v2
with:
arguments: -Pkotlin.mpp.enableCompatibilityMetadataVariant=true dokkaGfm

- name: Build release directory (/docs)
working-directory: arrow-site
if: |
!contains(steps.version.outputs.arrow, 'alpha') &&
!contains(steps.version.outputs.arrow, 'beta') &&
!contains(steps.version.outputs.arrow, 'rc')
run: |
bundle exec jekyll build -b docs -s docs
tree _site > $BASEDIR/logs/content_docs-${{ steps.version.outputs.arrow }}.log

- name: Publish documentation (/docs)
working-directory: arrow-site
if: |
!contains(steps.version.outputs.arrow, 'alpha') &&
!contains(steps.version.outputs.arrow, 'beta') &&
!contains(steps.version.outputs.arrow, 'rc')
run: |
echo ">>> Latest release" >> $BASEDIR/logs/aws_sync.log
${GITHUB_WORKSPACE}/.github/scripts/sync-docs-with-aws.sh

- name: Build release directory (/docs/<major.minor>)
working-directory: arrow-site
if: |
!contains(steps.version.outputs.arrow, 'alpha') &&
!contains(steps.version.outputs.arrow, 'beta') &&
!contains(steps.version.outputs.arrow, 'rc')
run: |
bundle exec jekyll build -b docs/${{ steps.version.outputs.arrow }} -s docs
tree _site > $BASEDIR/logs/content_docs-${{ steps.version.outputs.arrow }}.log

- name: Publish release directory (/docs/<major.minor>)
working-directory: arrow-site
if: |
!contains(steps.version.outputs.arrow, 'alpha') &&
!contains(steps.version.outputs.arrow, 'beta') &&
!contains(steps.version.outputs.arrow, 'rc')
run: |
aws s3 sync _site s3://$S3_BUCKET/docs/${{ steps.version.outputs.arrow }} --delete --exclude "/CNAME" --exclude "/code/*" --exclude "/index.html" --exclude "/redirects.json" >> $BASEDIR/logs/aws_sync.log

- name: Build latest version (/docs/next)
working-directory: arrow-site
run: |
bundle exec jekyll build -b docs/next -s docs
tree _site > $BASEDIR/logs/content_docs-next.log

- name: Publish latest version (/docs/next)
working-directory: arrow-site
run: |
aws s3 sync _site s3://$S3_BUCKET/docs/next --delete --exclude "/CNAME" --exclude "/code/*" --exclude "/index.html" --exclude "/redirects.json" >> $BASEDIR/logs/aws_sync.log

- name: Publish sitemap.xml
if: |
!contains(steps.version.outputs.arrow, 'alpha') &&
!contains(steps.version.outputs.arrow, 'beta') &&
!contains(steps.version.outputs.arrow, 'rc')
run: |
${GITHUB_WORKSPACE}/.github/scripts/create-sitemap.sh > sitemap.xml
aws s3 cp sitemap.xml s3://$S3_BUCKET/sitemap.xml >> $BASEDIR/logs/aws_sync.log

- name: Invalidate CloudFront cache
run: aws cloudfront create-invalidation --distribution-id $AWS_CLOUDFRONT_ID --paths "/*"

- name: List S3
run: aws s3 ls s3://$S3_BUCKET --recursive --summarize > $BASEDIR/logs/site-content.log

- uses: actions/upload-artifact@v3
with:
name: logs
path: arrow-libs/logs.
20 changes: 12 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: "Publish all libs, Arrow-stack and Docs"

on:
workflow_dispatch:
branches: [main]
inputs:
version:
description: 'Version'
required: true
type: string
push:
branch:
- 'arrow-2'
#on:
# workflow_dispatch:
# branches: [main]
# inputs:
# version:
# description: 'Version'
# required: true
# type: string

env:
BASEDIR: ${{github.workspace}}/arrow-libs
Expand Down Expand Up @@ -50,5 +54,5 @@ jobs:
name: 'reports-${{ matrix.os }}'
path: '**/build/reports/**'

- name: Publish final version
- name: Publish next major SNAPSHOT version
run: ./gradlew -Pversion=${{ inputs.version }} publishToSonatype closeSonatypeStagingRepository
60 changes: 30 additions & 30 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ jobs:

js:
runs-on: ubuntu-latest
timeout-minutes: 60
timeout-minutes: 30

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -327,32 +327,32 @@ jobs:
name: 'reports-linux'
path: '**/build/reports/**'

# wasm:
# runs-on: ubuntu-latest
# timeout-minutes: 60
#
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
#
# - name: Set up Java
# uses: actions/setup-java@v4
# with:
# distribution: 'temurin'
# java-version: 17
#
# - name: Setup Gradle
# uses: gradle/actions/setup-gradle@v3
# with:
# cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/arrow-2' }}
#
# - name: Compile WebAssembly
# run: ./gradlew compileKotlinWasmJs --scan
#
# - name: Upload reports
# if: failure()
# uses: actions/upload-artifact@v4
# with:
# name: 'reports-wasm'
# path: '**/build/reports/**'
wasm:
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/arrow-2' }}

- name: Compile WebAssembly
run: ./gradlew wasmJsTest -Penable_wasm=true --scan

- name: Upload reports
if: failure()
uses: actions/upload-artifact@v4
with:
name: 'reports-wasm'
path: '**/build/reports/**'
12 changes: 11 additions & 1 deletion arrow-libs/core/arrow-atomic/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@file:Suppress("DSL_SCOPE_VIOLATION")

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id(libs.plugins.kotlin.multiplatform.get().pluginId)
alias(libs.plugins.arrowGradleConfig.kotlin)
Expand Down Expand Up @@ -34,9 +36,9 @@ kotlin {
dependencies {
implementation(projects.arrowFxCoroutines)
implementation(libs.kotlin.test)
implementation(libs.coroutines.test)
implementation(libs.kotest.assertionsCore)
implementation(libs.kotest.property)
implementation(libs.coroutines.test)
}
}
}
Expand All @@ -49,3 +51,11 @@ kotlin {
}
}
}

tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.freeCompilerArgs += "-Xexpect-actual-classes"
}

tasks.withType<Test>().configureEach {
useJUnitPlatform()
}

This file was deleted.

This file was deleted.

Loading
Loading