Skip to content

test beginning of a CI #1

test beginning of a CI

test beginning of a CI #1

Workflow file for this run

name: Tests

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

`pull_reauest` is not a valid event name
on:
push:
branches: [master, main]
pull_reauest:
branches: [master, main]
schedule:
- cron: '0 6 * * *'
env:
COLORTERM: 'yes'
TERM: 'xterm-256color'
PYTEST_ADDOPTS: '--color=yes'
jobs:
sanity:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ["3.9", "3.11"]
steps:
- name: Check out code
uses: actions/checkout@v3
with:
path: ansible_collections/MozeBaltyk/AnsiColt/
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
cache: 'pip'
- name: Create default collection path
run: |
mkdir -p /home/runner/.ansible/
ln -s /home/runner/work/MozeBaltyk/AnsiColt/ /home/runner/.ansible/collections
- name: Install yamllint, ansible and molecule
run: |
python -m pip install --upgrade pip
pip install yamllint ansible-core flake8 ansible-lint voluptuous