Skip to content

Commit 971b1c1

Browse files
committed
checkpoint
1 parent dc6c98c commit 971b1c1

File tree

2 files changed

+83
-80
lines changed

2 files changed

+83
-80
lines changed

.github/workflows/test.yml

Lines changed: 80 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -7,59 +7,59 @@ on:
77
- "v*.*"
88
- jk-tmp
99
jobs:
10-
linux:
11-
runs-on: ubuntu-22.04
12-
strategy:
13-
fail-fast: false
14-
matrix:
15-
include:
16-
- pair: { elixir: "1.15.8", otp: "25.3" }
17-
python_minor: "10"
18-
- pair: { elixir: "1.18.4", otp: "27.2" }
19-
python_minor: "10"
20-
- pair: { elixir: "1.18.4", otp: "27.2" }
21-
python_minor: "11"
22-
- pair: { elixir: "1.18.4", otp: "27.2" }
23-
python_minor: "12"
24-
- pair: { elixir: "1.18.4", otp: "27.2" }
25-
python_minor: "13"
26-
lint: true
27-
env:
28-
MIX_ENV: test
29-
PYTHONX_TEST_PYTHON_MINOR: ${{ matrix.python_minor }}
30-
name: Linux x86_64 (3.${{ matrix.python_minor }}, ${{ matrix.pair.elixir }}, ${{ matrix.pair.otp }})
31-
steps:
32-
- uses: actions/checkout@v4
33-
- uses: erlef/setup-beam@v1
34-
with:
35-
otp-version: ${{ matrix.pair.otp }}
36-
elixir-version: ${{ matrix.pair.elixir }}
37-
- uses: actions/cache@v4
38-
with:
39-
path: |
40-
deps
41-
_build
42-
key: ${{ runner.os }}-mix-${{ matrix.pair.elixir }}-${{ matrix.pair.otp }}-${{ hashFiles('**/mix.lock') }}
43-
restore-keys: |
44-
${{ runner.os }}-mix-${{ matrix.pair.elixir }}-${{ matrix.pair.otp }}-
45-
- run: mix deps.get
46-
- run: mix format --check-formatted
47-
if: ${{ matrix.lint }}
48-
- run: mix deps.unlock --check-unused
49-
if: ${{ matrix.lint }}
50-
- run: mix deps.compile
51-
- run: mix compile --warnings-as-errors
52-
if: ${{ matrix.lint }}
53-
- run: mix test
10+
# linux:
11+
# runs-on: ubuntu-22.04
12+
# strategy:
13+
# fail-fast: false
14+
# matrix:
15+
# include:
16+
# - pair: { elixir: "1.15.8", otp: "25.3" }
17+
# python_minor: "10"
18+
# - pair: { elixir: "1.18.4", otp: "27.2" }
19+
# python_minor: "10"
20+
# - pair: { elixir: "1.18.4", otp: "27.2" }
21+
# python_minor: "11"
22+
# - pair: { elixir: "1.18.4", otp: "27.2" }
23+
# python_minor: "12"
24+
# - pair: { elixir: "1.18.4", otp: "27.2" }
25+
# python_minor: "13"
26+
# lint: true
27+
# env:
28+
# MIX_ENV: test
29+
# PYTHONX_TEST_PYTHON_MINOR: ${{ matrix.python_minor }}
30+
# name: Linux x86_64 (3.${{ matrix.python_minor }}, ${{ matrix.pair.elixir }}, ${{ matrix.pair.otp }})
31+
# steps:
32+
# - uses: actions/checkout@v4
33+
# - uses: erlef/setup-beam@v1
34+
# with:
35+
# otp-version: ${{ matrix.pair.otp }}
36+
# elixir-version: ${{ matrix.pair.elixir }}
37+
# - uses: actions/cache@v4
38+
# with:
39+
# path: |
40+
# deps
41+
# _build
42+
# key: ${{ runner.os }}-mix-${{ matrix.pair.elixir }}-${{ matrix.pair.otp }}-${{ hashFiles('**/mix.lock') }}
43+
# restore-keys: |
44+
# ${{ runner.os }}-mix-${{ matrix.pair.elixir }}-${{ matrix.pair.otp }}-
45+
# - run: mix deps.get
46+
# - run: mix format --check-formatted
47+
# if: ${{ matrix.lint }}
48+
# - run: mix deps.unlock --check-unused
49+
# if: ${{ matrix.lint }}
50+
# - run: mix deps.compile
51+
# - run: mix compile --warnings-as-errors
52+
# if: ${{ matrix.lint }}
53+
# - run: mix test
5454

5555
windows:
5656
runs-on: windows-2022
5757
strategy:
5858
fail-fast: false
5959
matrix:
6060
include:
61-
- pair: { elixir: "1.15.8", otp: "25.3" }
62-
python_minor: "10"
61+
# - pair: { elixir: "1.15.8", otp: "25.3" }
62+
# python_minor: "10"
6363
- pair: { elixir: "1.18.4", otp: "27.2" }
6464
python_minor: "13"
6565
env:
@@ -85,37 +85,37 @@ jobs:
8585
- run: mix deps.compile
8686
- run: mix test
8787

88-
macos:
89-
runs-on: macos-14
90-
strategy:
91-
fail-fast: false
92-
matrix:
93-
include:
94-
- pair: { elixir: "1.15.8", otp: "25.3" }
95-
python_minor: "10"
96-
- pair: { elixir: "1.18.4", otp: "27.2" }
97-
python_minor: "13"
98-
env:
99-
MIX_ENV: test
100-
PYTHONX_TEST_PYTHON_MINOR: ${{ matrix.python_minor }}
101-
name: macOS x86_64 (3.${{ matrix.python_minor }}, ${{ matrix.pair.elixir }}, ${{ matrix.pair.otp }})
102-
steps:
103-
- uses: actions/checkout@v4
104-
- run: |
105-
curl -fsSO https://elixir-lang.org/install.sh
106-
sh install.sh elixir@${{ matrix.pair.elixir }} otp@${{ matrix.pair.otp }}
107-
otp_bin=($HOME/.elixir-install/installs/otp/*/bin)
108-
elixir_bin=($HOME/.elixir-install/installs/elixir/*/bin)
109-
echo "$otp_bin" >> "$GITHUB_PATH"
110-
echo "$elixir_bin" >> "$GITHUB_PATH"
111-
- uses: actions/cache@v4
112-
with:
113-
path: |
114-
deps
115-
_build
116-
key: ${{ runner.os }}-mix-${{ matrix.pair.elixir }}-${{ matrix.pair.otp }}-${{ hashFiles('**/mix.lock') }}
117-
restore-keys: |
118-
${{ runner.os }}-mix-${{ matrix.pair.elixir }}-${{ matrix.pair.otp }}-
119-
- run: mix deps.get
120-
- run: mix deps.compile
121-
- run: mix test
88+
# macos:
89+
# runs-on: macos-14
90+
# strategy:
91+
# fail-fast: false
92+
# matrix:
93+
# include:
94+
# - pair: { elixir: "1.15.8", otp: "25.3" }
95+
# python_minor: "10"
96+
# - pair: { elixir: "1.18.4", otp: "27.2" }
97+
# python_minor: "13"
98+
# env:
99+
# MIX_ENV: test
100+
# PYTHONX_TEST_PYTHON_MINOR: ${{ matrix.python_minor }}
101+
# name: macOS x86_64 (3.${{ matrix.python_minor }}, ${{ matrix.pair.elixir }}, ${{ matrix.pair.otp }})
102+
# steps:
103+
# - uses: actions/checkout@v4
104+
# - run: |
105+
# curl -fsSO https://elixir-lang.org/install.sh
106+
# sh install.sh elixir@${{ matrix.pair.elixir }} otp@${{ matrix.pair.otp }}
107+
# otp_bin=($HOME/.elixir-install/installs/otp/*/bin)
108+
# elixir_bin=($HOME/.elixir-install/installs/elixir/*/bin)
109+
# echo "$otp_bin" >> "$GITHUB_PATH"
110+
# echo "$elixir_bin" >> "$GITHUB_PATH"
111+
# - uses: actions/cache@v4
112+
# with:
113+
# path: |
114+
# deps
115+
# _build
116+
# key: ${{ runner.os }}-mix-${{ matrix.pair.elixir }}-${{ matrix.pair.otp }}-${{ hashFiles('**/mix.lock') }}
117+
# restore-keys: |
118+
# ${{ runner.os }}-mix-${{ matrix.pair.elixir }}-${{ matrix.pair.otp }}-
119+
# - run: mix deps.get
120+
# - run: mix deps.compile
121+
# - run: mix test

c_src/pythonx.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,9 @@ import os
430430
431431
# Prepare env vars
432432
433+
print(("python", os.environ))
434+
print(("elixir", envs))
435+
433436
to_remove = [key for key in os.environ if key not in envs]
434437
435438
for key in to_remove:

0 commit comments

Comments
 (0)