6
6
branches :
7
7
- main
8
8
schedule :
9
- # Run every night at 04:00 (GitHub Actions timezone)
10
- # in order to catch when unfrozen dependency updates
11
- # break the use of the library.
12
9
- cron : ' 4 0 * * *'
13
10
14
11
jobs :
15
12
tests :
16
13
strategy :
17
14
fail-fast : false
18
15
matrix :
19
- python-version : [ "3.9", "3.10", "3.11", "3.12" ]
20
- os : [ubuntu-22.04, ubuntu-24.04]
16
+ python-version : ["3.9", "3.10", "3.11", "3.12"]
17
+ os : [ubuntu-22.04, ubuntu-24.04, macos-14, macos-15 ]
21
18
runs-on : ${{ matrix.os }}
22
19
23
20
steps :
@@ -26,15 +23,24 @@ jobs:
26
23
with :
27
24
python-version : ${{ matrix.python-version }}
28
25
29
- - run : |
26
+ - name : " apt-get install"
27
+ run : |
30
28
sudo apt-get update
31
- sudo apt-get install -y python3-pip libsodium-dev
29
+ sudo apt-get install -y python3-pip libsodium-dev libgmp-dev
30
+ if : runner.os == 'Linux'
32
31
33
32
- run : |
33
+ brew install libsodium
34
+ echo "DYLD_LIBRARY_PATH=$(brew --prefix libsodium)/lib" >> $GITHUB_ENV
35
+ if: runner.os == 'macOS'
36
+
37
+ - name : " Install Hatch"
38
+ run : |
34
39
python3 -m venv /tmp/venv
35
40
/tmp/venv/bin/python -m pip install --upgrade pip hatch coverage
36
41
37
- - run : |
42
+ - name : " Run Tests"
43
+ run : |
38
44
/tmp/venv/bin/pip freeze
39
45
/tmp/venv/bin/hatch run testing:pip freeze
40
46
/tmp/venv/bin/hatch run testing:test
0 commit comments