diff --git a/.github/workflows/CI-dev.yaml b/.github/workflows/CI-dev.yaml index f803cde6..6a18adf5 100644 --- a/.github/workflows/CI-dev.yaml +++ b/.github/workflows/CI-dev.yaml @@ -16,7 +16,7 @@ on: # Scheduled tests once a week # Scheduled workflows run on the latest commit on the default or base branch. # (from https://help.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule) - - cron: "0 0 * * 0" + # - cron: "0 0 * * 0" jobs: test: @@ -25,10 +25,10 @@ jobs: strategy: matrix: os: [macOS-latest, ubuntu-latest] - python-version: [ 3.8, 3.9 ] + python-version: [ "3.11", "3.12" ] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Additional info about the build shell: bash @@ -39,7 +39,7 @@ jobs: # More info on options: https://github.com/conda-incubator/setup-miniconda - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} environment-file: devtools/conda-envs/test_env.yaml @@ -94,7 +94,7 @@ jobs: - name: CodeCov if: matrix.os == 'ubuntu-latest' - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: file: ./coverage.xml flags: unittests diff --git a/.github/workflows/Release.yaml b/.github/workflows/Release.yaml index da87fadc..523d6e4a 100644 --- a/.github/workflows/Release.yaml +++ b/.github/workflows/Release.yaml @@ -8,13 +8,13 @@ on: jobs: release: - name: Lint ubuntu-latest Py3.9 + name: Lint ubuntu-latest Py3.12 # Run only for tagged releases publishing development or release candidates # only to test.pypi, otherwise to both it and the main pypi. if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Additional info about the build shell: bash @@ -23,9 +23,9 @@ jobs: df -h ulimit -a # More info on options: https://github.com/conda-incubator/setup-miniconda - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: - python-version: 3.9 + python-version: "3.12" environment-file: devtools/conda-envs/test_env.yaml activate-environment: test auto-update-conda: false @@ -51,7 +51,7 @@ jobs: pip install "chromedriver-binary<=$chrome_version_max" pytest -v --cov=seamm_dashboard seamm_dashboard/tests/ - name: CodeCov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: file: ./coverage.xml flags: unittests @@ -64,13 +64,13 @@ jobs: python -m build --sdist --wheel --outdir dist/ ls -l dist/ - name: Publish distribution 📦 to Test PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@v1 with: password: ${{ secrets.test_pypi_password }} repository_url: https://test.pypi.org/legacy/ skip_existing: true - name: Publish distribution 📦 to PyPI if: contains(github.ref, 'dev') == false && contains(github.ref, 'rc') == false - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@v1 with: password: ${{ secrets.pypi_password }}