Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
61 changes: 31 additions & 30 deletions .github/workflows/main_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:

strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ "3.10" ]
os: [ ubuntu-latest, macos-latest-large, windows-latest ]
python-version: [ "3.14" ]
poetry-version: ["1.3.2"]

timeout-minutes: 10
Expand All @@ -41,7 +41,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.10" ]
python-version: [ "3.14" ]

timeout-minutes: 30

Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.10.6" ]
python-version: [ "3.14" ]

timeout-minutes: 30

Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: "1.17.7"
- run: |
Expand All @@ -148,8 +148,8 @@ jobs:

strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
os: [ ubuntu-latest, macos-latest-large, windows-latest ]
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]

timeout-minutes: 30

Expand All @@ -159,7 +159,7 @@ jobs:
with:
submodules: recursive
python-version: ${{ matrix.python-version }}
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: "1.17.7"
- if: matrix.os == 'ubuntu-latest'
Expand Down Expand Up @@ -198,30 +198,32 @@ jobs:
run: |
tox -e py${{ matrix.python-version }}-linux -- -m 'not e2e'

- if: matrix.os == 'macos-latest'
name: Install dependencies (macos-latest)
- if: matrix.os == 'macos-latest-large'
name: Install dependencies (macos-latest-large)
run: |
pip install tomte[tox]==0.6.2
brew install gcc
# brew install protobuf
# brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/72457f0166d5619a83f508f2345b22d0617b5021/Formula/protobuf.rb
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-osx-x86_64.zip
unzip protoc-3.19.4-osx-x86_64.zip -d protoc
sudo mv protoc/bin/protoc /usr/local/bin/protoc
brew tap yoheimuta/protolint
brew install protolint
wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-osx-x86_64.zip
unzip protoc-24.3-osx-x86_64.zip -d protoc

# install protolint
curl -L -o protolint.tar.gz https://github.com/yoheimuta/protolint/releases/download/v0.50.2/protolint_0.50.2_darwin_amd64.tar.gz
tar -xzvf protolint.tar.gz
sudo mv protolint /usr/local/bin/protolint
sudo chmod +x /usr/local/bin/protolint

# install ipfs
curl -O https://dist.ipfs.io/go-ipfs/v0.6.0/go-ipfs_v0.6.0_darwin-amd64.tar.gz
tar -xvzf go-ipfs_v0.6.0_darwin-amd64.tar.gz
curl -L -o ipfs.tar.gz https://github.com/ipfs/kubo/releases/download/v0.6.0/go-ipfs_v0.6.0_darwin-amd64.tar.gz
tar -xvzf ipfs.tar.gz
cd go-ipfs
sudo ./install.sh
cd ..
rm -rf go-ipfs
ipfs init

- if: matrix.os == 'macos-latest'
name: Skills unit tests macos-latest
- if: matrix.os == 'macos-latest-large'
name: Framework unit tests macos-latest-large
run: |
tox -e py${{ matrix.python-version }}-darwin -- -m 'not e2e'

Expand All @@ -232,22 +234,21 @@ jobs:
run: |
python -m pip install -U pip
echo "::add-path::C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64"

choco source add -n chocolatey -s 'https://chocolatey.org/api/v2/'
choco source enable -n chocolatey

choco install wget -y
choco install protoc --version 3.19.4
choco install protoc --version 24.3
choco install mingw -y
choco install make -y
# to check make was installed
make --version
pip install tomte[tox]==0.6.2
# wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-win64.zip
# unzip protoc-3.19.4-win64.zip -d protoc
# sudo mv protoc/bin/protoc /usr/local/bin/protoc

python scripts\update_symlinks_cross_platform.py

# install ipfs
curl https://dist.ipfs.io/go-ipfs/v0.6.0/go-ipfs_v0.6.0_windows-amd64.zip -o go-ipfs_v0.6.0.zip
Expand-Archive -Path go-ipfs_v0.6.0.zip -DestinationPath ~\Apps\
curl -L -o go-ipfs.zip https://github.com/ipfs/kubo/releases/download/v0.6.0/go-ipfs_v0.6.0_windows-amd64.zip
Expand-Archive -Path go-ipfs.zip -DestinationPath ~\Apps\
cp ~\Apps\go-ipfs\ipfs.exe C:\Users\runneradmin\go\bin\
ipfs init

Expand All @@ -274,7 +275,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.10" ]
python-version: [ "3.14" ]
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -313,4 +314,4 @@ jobs:

- name: e2e tests
run: |
tox -e py${{ matrix.python-version }} -- -m 'e2e'
tox -e py${{ matrix.python-version }}-linux -- -m 'e2e'
Loading
Loading