Skip to content

Commit

Permalink
Tox is misbehaving. Default for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
buluma committed Jul 12, 2024
1 parent 47addbb commit a48296b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- main
- testing
- dependabot/**
# - renovate/**
paths-ignore:
- '**/README.md'
- '**/CHANGELOG.md'
Expand All @@ -20,7 +21,8 @@ on:
pull_request:
pull_request_target:
schedule:
- cron: '5 3 3 * *'
# - cron: '5 3 3 * *'
- cron: '5 3 * * *'

workflow_dispatch:

Expand All @@ -30,7 +32,6 @@ concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true


jobs:
lint:
runs-on: ubuntu-20.04
Expand All @@ -42,7 +43,7 @@ jobs:
test:
needs:
- lint
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -78,24 +79,18 @@ jobs:
- image: "docker-molecule-images"
tag: "noble"
steps:
- name: checkout
- name: Checkout Role
uses: actions/checkout@v4

- name: Set up Python 3.
uses: actions/setup-python@v5
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:
path: "${{ github.repository }}"
- name: Running Molecule Test
uses: buluma/molecule-action@v24.6.17
with:
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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ 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

0 comments on commit a48296b

Please sign in to comment.