From 3f92e089002e973bb20aa11d72e269680818969f Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Tue, 13 Aug 2019 20:14:23 +0200 Subject: [PATCH] Update and rename .github/workflows/main.yml to main.yml --- main.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 main.yml diff --git a/main.yml b/main.yml new file mode 100644 index 0000000000..a2af4df1e1 --- /dev/null +++ b/main.yml @@ -0,0 +1,28 @@ +name: CI + +on: [push] + +jobs: + build: + name: Run lint checks and tests + runs-on: ${{ matrix.os }} + + strategy: + matrix: + python_version: [2.7, 3.4, 3.5, 3.6, 3.7] + os: [ubuntu-latest] + + steps: + - uses: actions/checkout@master + - name: Use Python ${{ matrix.python_version }} + uses: actions/setup-python@v1 + with: + version: ${{ matrix.python_version }} + - name: Install Dependencies + run: | + pip install --upgrade "pip" + pip install --upgrade "virtualenv" + pip install "tox=3.12.1" + - name: Run tox target + run: | + tox -e py${{ matrix.python_version }}