From 7e124b0811baba88ed38338e0680e5f295119596 Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Fri, 20 Sep 2019 10:02:09 +0200 Subject: [PATCH 01/11] test gh actions --- .github/workflows/run_pytest.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/run_pytest.yml diff --git a/.github/workflows/run_pytest.yml b/.github/workflows/run_pytest.yml new file mode 100644 index 0000000..383c5b9 --- /dev/null +++ b/.github/workflows/run_pytest.yml @@ -0,0 +1,32 @@ +on: + - push + - pull_request + +name: Run pytest + +jobs: + + build: + name: Build + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + python-version: [3.5, 3.6, 3.7] + steps: + + - uses: actions/checkout@master + + - name: Set up Python $ + uses: actions/setup-python@master + with: + version: $ + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Test with pytest + run: | + pytest From 3bb1ad75a7a0ddba6d728abec9cbc60872cc580b Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sun, 22 Sep 2019 14:17:24 +0200 Subject: [PATCH 02/11] Update run_pytest.yml --- .github/workflows/run_pytest.yml | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/.github/workflows/run_pytest.yml b/.github/workflows/run_pytest.yml index 383c5b9..2baf6a9 100644 --- a/.github/workflows/run_pytest.yml +++ b/.github/workflows/run_pytest.yml @@ -1,32 +1,27 @@ -on: - - push - - pull_request +name: pytest -name: Run pytest +on: [push] jobs: - build: - name: Build + runs-on: ubuntu-latest strategy: - max-parallel: 4 + max-parallel: 3 matrix: python-version: [3.5, 3.6, 3.7] + steps: - - - uses: actions/checkout@master - - - name: Set up Python $ - uses: actions/setup-python@master + - uses: actions/checkout@v1 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 with: - version: $ - + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - - name: Test with pytest run: | - pytest + pip install pytest + pytest -c test/pytest.ini From 45841446f32cdf92886e65fc8083f0a2bbbe5bca Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sun, 22 Sep 2019 14:18:50 +0200 Subject: [PATCH 03/11] Update run_pytest.yml --- .github/workflows/run_pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_pytest.yml b/.github/workflows/run_pytest.yml index 2baf6a9..3252e81 100644 --- a/.github/workflows/run_pytest.yml +++ b/.github/workflows/run_pytest.yml @@ -20,7 +20,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt + pip install pytest - name: Test with pytest run: | pip install pytest From 1e6f166b651472cb5f322f479ef2ec989b5a9e77 Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sun, 22 Sep 2019 14:20:24 +0200 Subject: [PATCH 04/11] Update run_pytest.yml --- .github/workflows/run_pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_pytest.yml b/.github/workflows/run_pytest.yml index 3252e81..b87fffa 100644 --- a/.github/workflows/run_pytest.yml +++ b/.github/workflows/run_pytest.yml @@ -24,4 +24,4 @@ jobs: - name: Test with pytest run: | pip install pytest - pytest -c test/pytest.ini + pytest From 2fbcfdeca0656742c99bcad6c18ce2ac90c4c16f Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sun, 22 Sep 2019 14:27:44 +0200 Subject: [PATCH 05/11] Update run_pytest.yml --- .github/workflows/run_pytest.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/run_pytest.yml b/.github/workflows/run_pytest.yml index b87fffa..bbb0abc 100644 --- a/.github/workflows/run_pytest.yml +++ b/.github/workflows/run_pytest.yml @@ -20,8 +20,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest + pip install -r requirements.txt - name: Test with pytest run: | - pip install pytest pytest From 9f732b75debdba549b6b685daf491204d8f6325b Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sun, 22 Sep 2019 14:29:22 +0200 Subject: [PATCH 06/11] Update run_pytest.yml --- .github/workflows/run_pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_pytest.yml b/.github/workflows/run_pytest.yml index bbb0abc..4b9e5ac 100644 --- a/.github/workflows/run_pytest.yml +++ b/.github/workflows/run_pytest.yml @@ -23,4 +23,4 @@ jobs: pip install -r requirements.txt - name: Test with pytest run: | - pytest + pytest -c test/pytest.ini From 6b4fc6df7cba8df0e1d847aa9ace2c89b1d80e04 Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sun, 22 Sep 2019 14:31:46 +0200 Subject: [PATCH 07/11] Update run_pytest.yml --- .github/workflows/run_pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_pytest.yml b/.github/workflows/run_pytest.yml index 4b9e5ac..63f3f1c 100644 --- a/.github/workflows/run_pytest.yml +++ b/.github/workflows/run_pytest.yml @@ -23,4 +23,4 @@ jobs: pip install -r requirements.txt - name: Test with pytest run: | - pytest -c test/pytest.ini + pytest -c 'test/pytest.ini' From 23b19c0e0f3c943c31deacb8a4bc917470cb349b Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sun, 22 Sep 2019 14:34:35 +0200 Subject: [PATCH 08/11] Update run_pytest.yml --- .github/workflows/run_pytest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run_pytest.yml b/.github/workflows/run_pytest.yml index 63f3f1c..465292a 100644 --- a/.github/workflows/run_pytest.yml +++ b/.github/workflows/run_pytest.yml @@ -21,6 +21,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt + mkdir log/ - name: Test with pytest run: | pytest -c 'test/pytest.ini' From 012a1dceb473d211190428d27f2371c97be09869 Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sun, 22 Sep 2019 17:39:39 +0200 Subject: [PATCH 09/11] Update run_pytest.yml --- .github/workflows/run_pytest.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run_pytest.yml b/.github/workflows/run_pytest.yml index 465292a..27459f8 100644 --- a/.github/workflows/run_pytest.yml +++ b/.github/workflows/run_pytest.yml @@ -5,18 +5,18 @@ on: [push] jobs: build: - runs-on: ubuntu-latest strategy: - max-parallel: 3 + max-parallel: 4 matrix: - python-version: [3.5, 3.6, 3.7] - + os: [ubuntu-latest, windows-latest] + python-version: [3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7] + runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v1 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python ${{matrix.python-version}} at ${{matrix.os}} uses: actions/setup-python@v1 with: - python-version: ${{ matrix.python-version }} + python-version: ${{matrix.python-version}} - name: Install dependencies run: | python -m pip install --upgrade pip From 68f724b03147fdbe02c2664a2672b1d97b7855f4 Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sun, 22 Sep 2019 17:41:22 +0200 Subject: [PATCH 10/11] Update run_pytest.yml --- .github/workflows/run_pytest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_pytest.yml b/.github/workflows/run_pytest.yml index 27459f8..aa6a017 100644 --- a/.github/workflows/run_pytest.yml +++ b/.github/workflows/run_pytest.yml @@ -6,10 +6,10 @@ jobs: build: strategy: - max-parallel: 4 + # max-parallel: 4 matrix: os: [ubuntu-latest, windows-latest] - python-version: [3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7] + python-version: [3.5, 3.6, 3.7] runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v1 From 48a219619c4a63227d0d355abc90299cfc915a70 Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sun, 22 Sep 2019 17:50:10 +0200 Subject: [PATCH 11/11] Update run_pytest.yml --- .github/workflows/run_pytest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_pytest.yml b/.github/workflows/run_pytest.yml index aa6a017..bf2f891 100644 --- a/.github/workflows/run_pytest.yml +++ b/.github/workflows/run_pytest.yml @@ -6,9 +6,9 @@ jobs: build: strategy: - # max-parallel: 4 + max-parallel: 3 matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-latest] python-version: [3.5, 3.6, 3.7] runs-on: ${{matrix.os}} steps: