-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tox is misbehaving. Default for now.
- Loading branch information
Showing
4 changed files
with
32 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,5 @@ exclude_paths: | |
- .github | ||
- requirements.yml | ||
|
||
skip_list: | ||
- yaml[truthy] | ||
|
||
enable_list: | ||
- name[prefix] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: Pull request | ||
about: Describe the proposed change | ||
|
||
--- | ||
|
||
**Describe the change** | ||
A clear and concise description of what the pull request is. | ||
|
||
**Testing** | ||
In case a feature was added, how were tests performed? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ on: | |
- main | ||
- testing | ||
- dependabot/** | ||
# - renovate/** | ||
paths-ignore: | ||
- '**/README.md' | ||
- '**/CHANGELOG.md' | ||
|
@@ -21,8 +20,7 @@ on: | |
pull_request: | ||
pull_request_target: | ||
schedule: | ||
# - cron: '3 2 2 * *' | ||
- cron: '3 2 * * *' | ||
- cron: '3 2 2 * *' | ||
|
||
workflow_dispatch: | ||
|
||
|
@@ -32,6 +30,7 @@ concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-20.04 | ||
|
@@ -41,7 +40,9 @@ jobs: | |
- name: ansible-lint | ||
uses: ansible-community/ansible-lint-action@main | ||
test: | ||
runs-on: ubuntu-22.04 | ||
needs: | ||
- lint | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -75,18 +76,24 @@ jobs: | |
- image: "docker-molecule-images" | ||
tag: "noble" | ||
steps: | ||
- name: Checkout Role | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python 3. | ||
uses: actions/setup-python@v5 | ||
with: | ||
path: "${{ github.repository }}" | ||
- name: Running Molecule Test | ||
uses: buluma/[email protected] | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: molecule | ||
run: molecule converge | ||
env: | ||
image: ${{ matrix.config.image }} | ||
tag: ${{ matrix.config.tag }} | ||
- name: Running Role Test | ||
run: ansible-galaxy role import --api-key ${{ secrets.galaxy_api_key }} buluma ${{ github.event.repository.name }} | ||
|
||
dependabot: | ||
needs: | ||
- lint | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
ansible-compat == 4.* | ||
ansible-compat == 24.* | ||
molecule == 24.* | ||
molecule-plugins[docker] == 23.* | ||
ansible-lint == 24.* | ||
paramiko == 3.* | ||
# Pinning requests version due to [bug](https://github.com/docker/docker-py/issues/3113) | ||
requests == 2.28.1 | ||
# requests == 2.28.1 |