From fee75fb57c05ac1ce5470ab5a3e6813047367b46 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sat, 9 Nov 2024 10:52:39 +0100 Subject: [PATCH] ci: remove old test action in favor of new template one --- .gitea/workflows/test.yml | 52 --------------------------------------- .gitignore | 2 +- 2 files changed, 1 insertion(+), 53 deletions(-) delete mode 100644 .gitea/workflows/test.yml diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml deleted file mode 100644 index 3a74d0a..0000000 --- a/.gitea/workflows/test.yml +++ /dev/null @@ -1,52 +0,0 @@ ---- -name: test -on: [push] - -jobs: - lint: - name: Linting - runs-on: ubuntu-latest - container: - image: git.ednz.fr/container-factory/ansible-runner:act-latest - credentials: - username: ${{ secrets.ACTIONS_USER }} - password: ${{ secrets.ACTIONS_TOKEN }} - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: "Ansible lint" - run: ansible-lint --force-color - working-directory: ${{ gitea.workspace }} - - - name: "YAML lint" - run: yamllint . -f colored -c .yamllint - working-directory: ${{ gitea.workspace }} - - molecule-test: - name: Molecule tests - runs-on: ubuntu-latest - needs: lint - container: - image: git.ednz.fr/container-factory/ansible-runner:act-latest - credentials: - username: ${{ secrets.ACTIONS_USER }} - password: ${{ secrets.ACTIONS_TOKEN }} - strategy: - matrix: - test_os: [debian11, debian12, ubuntu2004, ubuntu2204] - scenario: [default, with_custom_flags] - env: - ANSIBLE_HOST_KEY_CHECKING: 'false' - ANSIBLE_FORCE_COLOR: 'true' - ANSIBLE_PYTHON_INTERPRETER: /usr/bin/python3 - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: "Molecule test" - run: molecule test -s ${{ matrix.scenario }} - shell: bash - working-directory: ${{ gitea.workspace }} - env: - MOLECULE_TEST_OS: ${{ matrix.test_os }} diff --git a/.gitignore b/.gitignore index bccf235..a1ca609 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ # ignore molecule/testinfra pycache **/__pycache__ -.vscode \ No newline at end of file +.vscode