diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 0ff0ab9..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,69 +0,0 @@ ---- -name: CI - -on: - pull_request: - push: - branches: - - master - schedule: - - cron: "0 5 * * 0" - -defaults: - run: - working-directory: 'nephelaiio.heartbeat' - -jobs: - - lint: - name: Lint - runs-on: ubuntu-latest - steps: - - name: Check out the codebase. - uses: actions/checkout@v2 - with: - path: 'nephelaiio.heartbeat' - - - name: Set up Python 3. - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - - name: Install test dependencies. - run: pip3 install ansible-lint[community,yamllint] - - - name: Lint code. - run: | - ansible-lint . - - molecule: - name: Molecule - runs-on: ubuntu-latest - strategy: - matrix: - image: - - geerlingguy/docker-ubuntu2004-ansible:latest - - geerlingguy/docker-ubuntu1804-ansible:latest - - geerlingguy/docker-ubuntu1604-ansible:latest - - geerlingguy/docker-debian10-ansible:latest - - geerlingguy/docker-centos7-ansible:latest - steps: - - name: Check out the codebase. - uses: actions/checkout@v2 - with: - path: 'nephelaiio.heartbeat' - - - name: Set up Python 3. - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - - name: Install test dependencies. - run: pip3 install ansible molecule[docker] docker pytest pytest-testinfra - - - name: Run Molecule tests. - run: molecule test - env: - PY_COLORS: '1' - ANSIBLE_FORCE_COLOR: '1' - MOLECULE_DOCKER_IMAGE: ${{ matrix.image }}