Bump jinja2 from 3.1.4 to 3.1.5 #165
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
pull_request: | |
schedule: | |
- cron: '30 2 * * 1,4' # Every Monday and Thursday @ 2h30am UTC | |
env: | |
POETRY_VERSION: 2.0.1 | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-20.04, ubuntu-22.04, ubuntu-24.04 ] | |
python-version: ["3.10", "3.11", "3.12"] | |
steps: | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Cache Installations | |
id: cache-installs | |
uses: actions/cache@v4 | |
with: | |
path: ~/.local | |
key: install-${{ env.INSTALL_CACHE_HASH }}- | |
- name: Install latest setuptools, wheel, pip | |
run: python3 -m pip install -U pip setuptools wheel | |
- name: Install Poetry | |
if: steps.cache-installs.outputs.cache-hit != 'true' | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }} | |
- name: Test poetry | |
run: poetry --version | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Install shadems | |
run: poetry install --extras "testing" | |
- name: Check installed version command | |
run: poetry run shadems --version | |
- name: Test command | |
run: poetry run shadems --help | |
- name: Run testsuite | |
run: poetry run py.test -vvv shade_ms/ | |
- name: Download test dataset | |
run: curl https://ratt-public-data.s3.af-south-1.amazonaws.com/test-data/HLTau_B6cont.calavg.tav300s.tar.xz | tar xJf - | |
- name: Run end to end test | |
run: poetry run shadems HLTau_B6cont.calavg.tav300s | |
# deploy: | |
# needs: [test] | |
# runs-on: ubuntu-latest | |
# # Run on a push to a tag or master | |
# if: > | |
# github.event_name == 'push' && | |
# (startsWith(github.event.ref, 'refs/tags') || | |
# github.event.ref == 'refs/heads/master') | |
# steps: | |
# - name: Set up Python 3.8 | |
# uses: actions/setup-python@v1 | |
# with: | |
# python-version: 3.8 | |
# - name: Install latest setuptools, wheel, pip | |
# run: python3 -m pip install -U pip setuptools wheel | |
# - name: Install dephell | |
# run: curl -L dephell.org/install | python3 | |
# - name: Checkout source | |
# uses: actions/checkout@v2 | |
# with: | |
# fetch-depth: 1 | |
# - name: Build distributions | |
# run: python setup.py sdist bdist_wheel | |
# - name: Publish distribution 📦 to Test PyPI | |
# uses: pypa/gh-action-pypi-publish@master | |
# with: | |
# user: __token__ | |
# password: ${{ secrets.test_pypi_token }} | |
# repository_url: https://test.pypi.org/legacy/ | |
# continue-on-error: true | |
# - name: Publish distribution 📦 to PyPI | |
# uses: pypa/gh-action-pypi-publish@master | |
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') | |
# with: | |
# user: __token__ | |
# password: ${{ secrets.pypi_token }} |