File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 3838 # 2.34 is in ubuntu 22.04
3939 git-version : " 2.34"
4040 - python-version : " 3.11"
41+ - python-version : " 3.12"
42+ # 2.43 is in ubuntu 24.04
43+ git-version : " 2.43"
4144
4245 steps :
4346 - uses : actions/checkout@v4
@@ -47,14 +50,14 @@ jobs:
4750
4851 - uses : actions/setup-node@v4
4952 with :
50- node-version : " ${{ matrix.node-version || '18'}} "
53+ node-version : " lts/* "
5154
5255 - name : install git ${{ matrix.git-version }}
5356 if : ${{ matrix.git-version }}
5457 run : |
5558 export MAMBA_ROOT_PREFIX=$/tmp/conda
5659 mkdir -p $MAMBA_ROOT_PREFIX/bin
57- curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/1.4.2 | tar -xvj -C $MAMBA_ROOT_PREFIX/bin/ --strip-components=1 bin/micromamba
60+ curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/1.5.8 | tar -xvj -C $MAMBA_ROOT_PREFIX/bin/ --strip-components=1 bin/micromamba
5861 $MAMBA_ROOT_PREFIX/bin/micromamba install -c conda-forge -p $MAMBA_ROOT_PREFIX "git=${{ matrix.git-version }}"
5962 echo "PATH=$MAMBA_ROOT_PREFIX/bin:$PATH" >> $GITHUB_ENV
6063
7275 run : |
7376 pip install -r dev-requirements.txt
7477 pip install .
78+
79+ - name : List dependencies
80+ run : |
7581 pip freeze
7682
7783 - name : Run tests
7884 run : |
79- pytest --verbose -- maxfail=2 --color=yes --cov nbgitpuller tests
85+ pytest --maxfail=2
Original file line number Diff line number Diff line change @@ -40,15 +40,23 @@ target_version = [
4040 " py39" ,
4141 " py310" ,
4242 " py311" ,
43+ " py312" ,
4344]
4445
46+
47+ # pytest is used for running Python based tests
48+ #
49+ # ref: https://docs.pytest.org/en/stable/
50+ #
4551[tool .pytest .ini_options ]
52+ addopts = " --verbose --color=yes --durations=10 --cov nbgitpuller"
53+ asyncio_mode = " auto"
54+ testpaths = [" tests" ]
4655markers = [
4756 " jupyter_server: configure the jupyter_server fixture"
4857]
4958
5059
51-
5260# tbump is used to simplify and standardize the release process when updating
5361# the version, making a git commit and tag, and pushing changes.
5462#
You can’t perform that action at this time.
0 commit comments