From 5afe26d124d2ff1266586e4edea36877d67eb576 Mon Sep 17 00:00:00 2001 From: Paulo Henrique Silva Date: Mon, 25 Nov 2019 15:56:42 -0300 Subject: Create pythonapp.yml --- .github/workflows/pythonapp.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/pythonapp.yml (limited to '.github/workflows') diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml new file mode 100644 index 0000000..fe097ab --- /dev/null +++ b/.github/workflows/pythonapp.yml @@ -0,0 +1,22 @@ +name: pcb-tools + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Set up Python 3.7 + uses: actions/setup-python@v1 + with: + python-version: 3.7 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements-dev.txt + - name: Test with pytest + run: | + pip install pytest + pytest -- cgit From 5d05e7db8ee6d55e90bccad2efecfd7eb7f145fa Mon Sep 17 00:00:00 2001 From: Paulo Henrique Silva Date: Mon, 25 Nov 2019 16:10:33 -0300 Subject: Update and rename pythonapp.yml to pcb-tools.yml --- .github/workflows/pcb-tools.yml | 26 ++++++++++++++++++++++++++ .github/workflows/pythonapp.yml | 22 ---------------------- 2 files changed, 26 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/pcb-tools.yml delete mode 100644 .github/workflows/pythonapp.yml (limited to '.github/workflows') diff --git a/.github/workflows/pcb-tools.yml b/.github/workflows/pcb-tools.yml new file mode 100644 index 0000000..d125a46 --- /dev/null +++ b/.github/workflows/pcb-tools.yml @@ -0,0 +1,26 @@ +name: pcb-tools + +on: [push, pull_request] + +jobs: + build: + strategy: + matrix: + python: [3.7] + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Set up Python 3.7 + uses: actions/setup-python@v1 + with: + python-version: ${matrix.python} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements-dev.txt + - name: Test with pytest + run: | + pip install pytest + pytest diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml deleted file mode 100644 index fe097ab..0000000 --- a/.github/workflows/pythonapp.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: pcb-tools - -on: [push, pull_request] - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Set up Python 3.7 - uses: actions/setup-python@v1 - with: - python-version: 3.7 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements-dev.txt - - name: Test with pytest - run: | - pip install pytest - pytest -- cgit From 3602ce4d684b7ddfd2f8c825c72414cdbbd20775 Mon Sep 17 00:00:00 2001 From: Paulo Henrique Silva Date: Mon, 25 Nov 2019 16:16:35 -0300 Subject: Update pcb-tools.yml --- .github/workflows/pcb-tools.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/pcb-tools.yml b/.github/workflows/pcb-tools.yml index d125a46..8f52f00 100644 --- a/.github/workflows/pcb-tools.yml +++ b/.github/workflows/pcb-tools.yml @@ -6,7 +6,7 @@ jobs: build: strategy: matrix: - python: [3.7] + python-version: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8] runs-on: ubuntu-latest @@ -15,7 +15,7 @@ jobs: - name: Set up Python 3.7 uses: actions/setup-python@v1 with: - python-version: ${matrix.python} + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip -- cgit From 79428db321ff0b78edd183dd8586580b4e93f58f Mon Sep 17 00:00:00 2001 From: Paulo Henrique Silva Date: Mon, 25 Nov 2019 16:19:10 -0300 Subject: Update pcb-tools.yml --- .github/workflows/pcb-tools.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/pcb-tools.yml b/.github/workflows/pcb-tools.yml index 8f52f00..6164c4a 100644 --- a/.github/workflows/pcb-tools.yml +++ b/.github/workflows/pcb-tools.yml @@ -1,18 +1,18 @@ name: pcb-tools -on: [push, pull_request] +on: [push] jobs: - build: + test: strategy: matrix: - python-version: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8] + python-version: [2.7, 3.5, 3.6, 3.7, 3.8] runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - name: Set up Python 3.7 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} -- cgit From cee1fcff3ac8c15e8888dd0d4738c3c7f1db196d Mon Sep 17 00:00:00 2001 From: Paulo Henrique Silva Date: Mon, 25 Nov 2019 23:40:59 -0300 Subject: Run workflow checks on PRs --- .github/workflows/pcb-tools.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/pcb-tools.yml b/.github/workflows/pcb-tools.yml index 6164c4a..85038a7 100644 --- a/.github/workflows/pcb-tools.yml +++ b/.github/workflows/pcb-tools.yml @@ -1,6 +1,6 @@ name: pcb-tools -on: [push] +on: [push, pull_request] jobs: test: -- cgit