Skip to content

Commit cf6e715

Browse files
authored
Merge pull request #68 from ocefpaf/minor_updates
Minor updates
2 parents 6e8ac1b + 6619204 commit cf6e715

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

.github/workflows/pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/setup-python@v5
2424
with:
2525
# must the the latest one where cf_units is
26-
python-version: "3.11"
26+
python-version: "3.12"
2727

2828
- name: Get tags
2929
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*

.github/workflows/tests.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
name: Tests
1+
name: Default Tests
22

33
on:
44
pull_request:
55
push:
6-
branches: [main]
76

87
jobs:
98
run:
@@ -26,19 +25,15 @@ jobs:
2625
environment-name: TEST
2726
init-shell: bash
2827
create-args: >-
29-
python=${{ matrix.python-version }} --file requirements.txt --file requirements-dev.txt --channel conda-forge
28+
python=${{ matrix.python-version }} pip
29+
--file requirements.txt
30+
--file requirements-dev.txt
31+
--channel conda-forge
3032
31-
- name: Install cc-plugin-glider
33+
- name: Install plugin
3234
run: |
3335
python -m pip install -e . --no-deps --force-reinstall
3436
3537
- name: Run tests
3638
run: |
37-
python -m pytest -rxs --pyargs cc_plugin_glider
38-
39-
- name: Test latest compliance-checker
40-
if: matrix.experimental == true
41-
run: >
42-
micromamba remove compliance-checker --no-prune-deps --yes
43-
&& pip install git+https://github.com/ioos/compliance-checker.git --no-deps
44-
&& python -m pytest -rxs --pyargs cc_plugin_glider
39+
python -m pytest -rxs --pyargs --pyargs cc_plugin_glider

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ write_to_template = "__version__ = '{version}'"
5555
tag_regex = "^(?P<prefix>v)?(?P<version>[^\\+]+)(?P<suffix>.*)?$"
5656

5757
[tool.ruff]
58-
target-version = "py38"
58+
target-version = "py39"
5959
line-length = 79
6060

6161
lint.select = [

0 commit comments

Comments
 (0)