From 47aa4e041eeaa581cdde95725b4ea37799860abe Mon Sep 17 00:00:00 2001 From: Kon Date: Mon, 3 Feb 2020 15:56:24 +0900 Subject: [PATCH 1/3] Test with GitHub Actions --- .github/workflows/pythonpackage.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/pythonpackage.yml diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml new file mode 100644 index 0000000..1f402bd --- /dev/null +++ b/.github/workflows/pythonpackage.yml @@ -0,0 +1,25 @@ +name: Python package + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.6, 3.7, 3.8] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install . + - name: Test with pytest + run: | + python setup.py test From 66f3b9112d293bd38640ae2d052fa00acb7f361d Mon Sep 17 00:00:00 2001 From: Kon Date: Mon, 3 Feb 2020 16:01:23 +0900 Subject: [PATCH 2/3] Fix pythonpackage.yml --- .github/workflows/pythonpackage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 1f402bd..cfb28a1 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -19,7 +19,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install . + pip install .[develop] - name: Test with pytest run: | python setup.py test From 245f582a96a6ebe718436423395a49f40c4d6055 Mon Sep 17 00:00:00 2001 From: Y-oHr-N Date: Mon, 3 Feb 2020 16:21:18 +0900 Subject: [PATCH 3/3] Remove config.yml --- .circleci/config.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index d1661c6..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,19 +0,0 @@ -version: 2.1 -jobs: - build: - docker: - - image: circleci/python:3.6.8 - steps: - - checkout - - run: - name: install dependencies - command: | - python -m venv venv - . venv/bin/activate - pip install .[develop] - - run: - name: run tests - command: | - . venv/bin/activate - python setup.py test - no_output_timeout: 1h