From 528235b909a87875605a4dfc83903b05e3ea3247 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Tue, 27 Aug 2024 21:14:35 +0200 Subject: [PATCH 1/4] Update unittest.yml --- .github/workflows/unittest.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index c42ff43..0479bf0 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -16,21 +16,21 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest, macos-latest] - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2 + - uses: actions/checkout@v4 + - name: Conda config + shell: bash -l {0} + run: echo -e "channels:\n - conda-forge\n" > .condarc + - uses: conda-incubator/setup-miniconda@v3 with: - auto-update-conda: true python-version: ${{ matrix.python-version }} - channel-priority: strict + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment.yml - - name: Setup - shell: bash -l {0} - run: | - pip install --no-deps . - name: Test shell: bash -l {0} run: | + pip install --no-deps . coverage run -a -m unittest discover tests From 37c5cced8ceb64a4d0a867639eb9883896696ced Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Tue, 27 Aug 2024 21:16:02 +0200 Subject: [PATCH 2/4] Update coverage.yml --- .github/workflows/coverage.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index abb8939..d0c129a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -13,21 +13,22 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2 + - uses: actions/checkout@v4 + - name: Conda config + shell: bash -l {0} + run: echo -e "channels:\n - conda-forge\n" > .condarc + - uses: conda-incubator/setup-miniconda@v3 with: - auto-update-conda: true - python-version: '3.11' - channel-priority: strict + python-version: '3.12' + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment.yml - - name: Setup - shell: bash -l {0} - run: | - pip install --no-deps . - name: Test shell: bash -l {0} run: | + pip install --no-deps . coverage run -a -m unittest discover tests coverage combine + coverage xml - name: Coveralls - uses: coverallsapp/github-action@v2 \ No newline at end of file + uses: coverallsapp/github-action@v2 From 85a49145f46ed8b5d0e38dc53ebc6af96c7ca241 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Tue, 27 Aug 2024 21:17:08 +0200 Subject: [PATCH 3/4] Update deploy.yml --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7a613ad..8cffb06 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Install dependencies run: >- From 4b0b4a0af9d123bfa98097452e931dcb253944b1 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Tue, 27 Aug 2024 21:17:57 +0200 Subject: [PATCH 4/4] Update pypicheck.yml --- .github/workflows/pypicheck.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pypicheck.yml b/.github/workflows/pypicheck.yml index d4bee14..cbf4f40 100644 --- a/.github/workflows/pypicheck.yml +++ b/.github/workflows/pypicheck.yml @@ -10,12 +10,15 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2 + - uses: actions/checkout@v4 + - name: Conda config + shell: bash -l {0} + run: echo -e "channels:\n - conda-forge\n" > .condarc + - uses: conda-incubator/setup-miniconda@v3 with: - auto-update-conda: true - python-version: '3.11' - channel-priority: strict + python-version: '3.12' + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment.yml - name: Setup shell: bash -l {0}