File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22name : CI
3- ' on ' :
3+ " on " :
44 workflow_dispatch :
55 push :
66 branches :
@@ -11,7 +11,7 @@ name: CI
1111
1212defaults :
1313 run :
14- working-directory : ' yethal.nushell'
14+ working-directory : " yethal.nushell"
1515
1616env :
1717 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -27,12 +27,12 @@ jobs:
2727 - name : Checkout code
2828 uses : actions/checkout@v4
2929 with :
30- path : ' yethal.nushell'
30+ path : " yethal.nushell"
3131
3232 - name : Set up Python 3.
3333 uses : actions/setup-python@v5
3434 with :
35- python-version : ' 3.x'
35+ python-version : " 3.x"
3636
3737 - name : Install dependencies
3838 run : |
4242 run : yamllint .
4343
4444 - name : Run ansible-lint
45- run : ansible-lint .
45+ run : ansible-lint . --exclude molecule/common/*
4646
4747 - name : Generate test list
4848 id : tests-list
@@ -69,19 +69,19 @@ jobs:
6969 - name : Checkout code
7070 uses : actions/checkout@v4
7171 with :
72- path : ' yethal.nushell'
72+ path : " yethal.nushell"
7373
7474 - name : Set up Python 3.
7575 uses : actions/setup-python@v5
7676 with :
77- python-version : ' 3.x'
77+ python-version : " 3.x"
7878
7979 - name : Install dependencies
8080 run : pip3 install -r requirements.txt
8181
8282 - name : Run ${{ matrix.scenario }} test
8383 run : molecule test -s ${{ matrix.scenario }}
8484 env :
85- PY_COLORS : ' 1 '
86- ANSIBLE_FORCE_COLOR : ' 1 '
85+ PY_COLORS : " 1 "
86+ ANSIBLE_FORCE_COLOR : " 1 "
8787 MOLECULE_DISTRO : ${{ matrix.distro }}
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ nu_plugins:
2323 - nu_plugin_polars
2424config_urls :
2525 - name : config.nu
26- url : " https://raw.githubusercontent.com/nushell/nushell/{{ _nushell_version }}/crates/nu-utils/src/sample_config/default_config.nu"
26+ url : " https://raw.githubusercontent.com/nushell/nushell/{{ _nushell_version }}/crates/nu-utils/src/{{ 'default_files' if (_nushell_version is version('0.101.0', '>=')) else ' sample_config' }} /default_config.nu"
2727 - name : env.nu
28- url : " https://raw.githubusercontent.com/nushell/nushell/{{ _nushell_version }}/crates/nu-utils/src/sample_config/default_env.nu"
29- - name : login.nu
30- url : " https://raw.githubusercontent.com/nushell/nushell/{{ _nushell_version }}/crates/nu-utils/src/sample_config/sample_login.nu"
28+ url : " https://raw.githubusercontent.com/nushell/nushell/{{ _nushell_version }}/crates/nu-utils/src/{{ 'default_files' if (_nushell_version is version('0.101.0', '>=')) else 'sample_config' }}/default_env.nu"
Original file line number Diff line number Diff line change 4848 changed_when : false
4949 register : check_output
5050 failed_when : check_output.stdout != 'true'
51- loop : " {{ nu_users|product(['config.nu', 'env.nu', 'login.nu' ]) }}"
51+ loop : " {{ nu_users|product(['config.nu', 'env.nu']) }}"
5252 loop_control :
53- label : ' {{ item[0] }} - {{ item[1] }}'
53+ label : " {{ item[0] }} - {{ item[1] }}"
Original file line number Diff line number Diff line change 44 config_urls :
55 - name : config.nu
66 - name : env.nu
7- - name : login.nu
87
98- name : Stat config files
109 ansible.builtin.stat :
Original file line number Diff line number Diff line change 99 config_urls :
1010 - name : config.nu
1111 - name : env.nu
12- - name : login.nu
1312 tasks :
1413 - name : Include default assertions
1514 ansible.builtin.include_tasks : " ../common/{{ file }}.yml"
You can’t perform that action at this time.
0 commit comments