From 98ea480ca559aaa6d811c06fbda0b1ced49666f9 Mon Sep 17 00:00:00 2001 From: Miguel Mendez Date: Tue, 17 Aug 2021 09:38:36 +0200 Subject: [PATCH 1/3] Remove all conda based bash -l --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8741b08..a2a4463 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,11 +31,8 @@ jobs: with: python-version: 3.7 - name: Install pyodi - shell: bash -l {0} run: rm -rf .eggs && pip install .[dev] - name: Test with pytest - shell: bash -l {0} run: pytest - name: Generate docs - shell: bash -l {0} run: mkdocs build From 66057c0dff4d8b7a7efda088b72d5308d6e5b8c3 Mon Sep 17 00:00:00 2001 From: Miguel Mendez Date: Tue, 17 Aug 2021 09:41:07 +0200 Subject: [PATCH 2/3] Add windows to ci build job --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2a4463..d373118 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,11 @@ jobs: run: pre-commit run --all-files build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + steps: - uses: actions/checkout@v2 - name: Set up Python 3.7 From 510f0a8182fcb5f82fb8dc1c326fe20a9ac953bf Mon Sep 17 00:00:00 2001 From: Miguel Mendez Date: Tue, 17 Aug 2021 09:44:15 +0200 Subject: [PATCH 3/3] Remove rm .eggs from installation step --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d373118..7afde1a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: with: python-version: 3.7 - name: Install pyodi - run: rm -rf .eggs && pip install .[dev] + run: pip install .[dev] - name: Test with pytest run: pytest - name: Generate docs