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
22 changes: 14 additions & 8 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,15 @@ on:
branches:
- main
schedule:
# Run every night at 04:00 (GitHub Actions timezone)
# in order to catch when unfrozen dependency updates
# break the use of the library.
- cron: '4 0 * * *'

jobs:
tests:
strategy:
fail-fast: false
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
os: [ubuntu-22.04, ubuntu-24.04]
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-22.04, ubuntu-24.04, macos-14, macos-15]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -26,15 +23,24 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- run: |
- name: "apt-get install"
run: |
sudo apt-get update
sudo apt-get install -y python3-pip libsodium-dev
sudo apt-get install -y python3-pip libsodium-dev libgmp-dev
if: runner.os == 'Linux'

- run: |
brew install libsodium
echo "DYLD_LIBRARY_PATH=$(brew --prefix libsodium)/lib" >> $GITHUB_ENV
if: runner.os == 'macOS'

- name: "Install Hatch"
run: |
python3 -m venv /tmp/venv
/tmp/venv/bin/python -m pip install --upgrade pip hatch coverage

- run: |
- name: "Run Tests"
run: |
/tmp/venv/bin/pip freeze
/tmp/venv/bin/hatch run testing:pip freeze
/tmp/venv/bin/hatch run testing:test
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ optional-dependencies.substrate = [
"substrate-interface",
]
optional-dependencies.tezos = [
"pynacl",
"pytezos-crypto==3.13.4.1",
]
urls.Documentation = "https://aleph.im/"
Expand Down
Loading