Skip to content

Commit

Permalink
Updated github workflow packages to latest (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddobie authored Sep 24, 2023
1 parent 4c2564d commit f84b1e6
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 74 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
name: ci docs

on:
push:
branches:
- master
- main
push:
branches:
- master
- main

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: ${{ github.repository_owner == 'askap-vast' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: Gr1N/setup-poetry@v7
python-version: 3.9
- uses: Gr1N/setup-poetry@v8
- name: Cache Python dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: ricardochaves/[email protected]
with:
use-pylint: false
use-pycodestyle: false
use-flake8: true
use-black: false
use-mypy: false
use-isort: false
extra-pylint-options: ""
extra-pycodestyle-options: ""
extra-flake8-options: "--select=W291,W292,F401"
# flake8 options being used:
# - W291 trailing whitespace
# - W292 no newline at end of file
# - F401 module imported but unused
extra-black-options: ""
extra-mypy-options: ""
extra-isort-options: ""
- uses: actions/checkout@v4
- uses: ricardochaves/[email protected]
with:
use-pylint: false
use-pycodestyle: false
use-flake8: true
use-black: false
use-mypy: false
use-isort: false
extra-pylint-options: ""
extra-pycodestyle-options: ""
extra-flake8-options: "--select=W291,W292,F401"
# flake8 options being used:
# - W291 trailing whitespace
# - W292 no newline at end of file
# - F401 module imported but unused
extra-black-options: ""
extra-mypy-options: ""
extra-isort-options: ""
30 changes: 15 additions & 15 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ jobs:
python_version: ['3.8', '3.9']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
- uses: Gr1N/setup-poetry@v8
- name: Cache Python dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
- uses: Gr1N/setup-poetry@v8
- name: Cache Python dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}

- name: Install python dependencies
run: poetry install
- name: Run pytests
run: |
poetry run pytest --cov=vasttools -vv
- name: Install python dependencies
run: poetry install
- name: Run pytests
run: |
poetry run pytest --cov=vasttools -vv
20 changes: 13 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

#### Changed

- Bumped `mkdocstrings` to version `0.17.0` to avoid `mkdocstrings` error [#496](https://github.com/askap-vast/vast-tools/pull/496).
- Pinned `jinja2` to version `3.0.3` to avoid `mkdocs_autoref` error [#496](https://github.com/askap-vast/vast-tools/pull/496).
- Update github workflows to latest versions [#496](https://github.com/askap-vast/vast-tools/pull/496)
- Exit nicely when invalid survey is requested for SkyView contour plot [#497](https://github.com/askap-vast/vast-tools/pull/497)

#### Fixed

- Fixed docs build process [#496](https://github.com/askap-vast/vast-tools/pull/496).

#### Removed

#### List of PRs

- [#496](https://github.com/askap-vast/vast-tools/pull/496): fix: Update github workflows to latest versions
- [#497](https://github.com/askap-vast/vast-tools/pull/497): feat: Exit nicely when invalid survey is requested for SkyView contour plot

## [3.0.0](https://github.com/askap-vast/vast-tools/releases/v3.0.0) (2023-09-02)
Expand Down Expand Up @@ -125,14 +132,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
#### List of PRs

- [#490](https://github.com/askap-vast/vast-tools/pull/490): feat: Raise exception when simbad name query returns more names than there are objects queried
- [#478](https://github.com/askap-vast/vast-tools/pull/478): fix: Account for pipeline runs with no measurement pairs file
- [#478](https://github.com/askap-vast/vast-tools/pull/478): fix: Account for pipeline runs with no measurement pairs file
- [#483](https://github.com/askap-vast/vast-tools/pull/483): fix: Ensure that full image data does not persist when creating FITS cutouts from compressed HDUs
- [#480](https://github.com/askap-vast/vast-tools/pull/480): feat: Added open_fits function to handle compressed image HDUs
- [#476](https://github.com/askap-vast/vast-tools/pull/476): fix: Fixed missing RMS measurements for non-detections
- [#476](https://github.com/askap-vast/vast-tools/pull/476): fix: Fixed missing RMS measurements for non-detections
- [#472](https://github.com/askap-vast/vast-tools/pull/472): fix: Remove duplicates in field matching
- [#470](https://github.com/askap-vast/vast-tools/pull/470): feat: Added epoch 41
- [#465](https://github.com/askap-vast/vast-tools/pull/465): feat: Added warning when querying corrected data
- [#466](https://github.com/askap-vast/vast-tools/pull/466): feat: Added epochs 38, 39 and 40
- [#466](https://github.com/askap-vast/vast-tools/pull/466): feat: Added epochs 38, 39 and 40
- [#463](https://github.com/askap-vast/vast-tools/pull/463): fix: Fix read_selavy to force all flux & flux_err values to be positive
- [#458](https://github.com/askap-vast/vast-tools/pull/458): feat: Added epoch 37
- [#453](https://github.com/askap-vast/vast-tools/pull/453): fix: Fix planet matching to correctly handle field names with/without 'A' suffix, and correctly handle empty df in init_sources
Expand All @@ -151,7 +158,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- [#421](https://github.com/askap-vast/vast-tools/pull/421): feat, fix, docs: Updated Query._get_epochs to exit nicely when no epochs available & to allow lists and ints to be passed.
- [#429](https://github.com/askap-vast/vast-tools/pull/429): feat: Added access to epoch 32
- [#427](https://github.com/askap-vast/vast-tools/pull/427): feat: Added access to epoch 31
- [#425](https://github.com/askap-vast/vast-tools/pull/425): fix: Bumped pytest and lint github workflow from ubuntu-18.04 -> ubuntu-20.04
- [#425](https://github.com/askap-vast/vast-tools/pull/425): fix: Bumped pytest and lint github workflow from ubuntu-18.04 -> ubuntu-20.04
- [#419](https://github.com/askap-vast/vast-tools/pull/419): feat: Added access to epoch 30
- [#416](https://github.com/askap-vast/vast-tools/pull/416): fix: Update match_planet_to_field to handle empty groups
- [#414](https://github.com/askap-vast/vast-tools/pull/414): feat: Added access to epoch 27
Expand Down Expand Up @@ -253,7 +260,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- [#258](https://github.com/askap-vast/vast-tools/pull/258): feat: v2.0.0-rc.6
- [#257](https://github.com/askap-vast/vast-tools/pull/257): fix: Fix lightcurve axist limits for forced fits
- [#255](https://github.com/askap-vast/vast-tools/pull/255): fix: Added if statement to catch os.getenv returning None
- [#253](https://github.com/askap-vast/vast-tools/pull/253): feat: Added filter pipeline run by MOC function
- [#253](https://github.com/askap-vast/vast-tools/pull/253): feat: Added filter pipeline run by MOC function
- [#251](https://github.com/askap-vast/vast-tools/pull/251): fix: Check self.pipeline inside write_measurements
- [#247](https://github.com/askap-vast/vast-tools/pull/247): feat, dep: Updated forced photometry to be a dependency
- [#246](https://github.com/askap-vast/vast-tools/pull/246): fix: Fixed vaex two epoch metric analysis
Expand All @@ -277,5 +284,4 @@ The release candidate 5 of v2.0.0. This was the release before the changelog was

- [#221](https://github.com/askap-vast/vast-tools/pull/221) feat: Pipeline add 2 epoch Mooley style plotting
- [#220](https://github.com/askap-vast/vast-tools/pull/220) fix: Issue 219 fix source names
- [#218](https://github.com/askap-vast/vast-tools/pull/218) fix: Removed bad fields from epoch 12 csv

- [#218](https://github.com/askap-vast/vast-tools/pull/218) fix: Removed bad fields from epoch 12 csv
44 changes: 22 additions & 22 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jupyterlab = "^3.1.0"
jupyterlab-execute-time = "^2.0.2"
jupyterlab-system-monitor = "^0.8.0"
mkdocs-material = "^7.3.0"
mkdocstrings = "^0.16.0"
mkdocstrings = "^0.17.0"
mkdocs-minify-plugin = "^0.4.1"
mkdocs-material-extensions = "^1.0.3"
mkdocs-gen-files = "^0.3.3"
Expand All @@ -52,6 +52,7 @@ pytest-mock = "^3.6.1"
autopep8 = "^1.5.7"
pytest-cov = "^2.12.1"
flake8 = "^4.0.1"
jinja2 = "3.0.3"

[tool.poetry.scripts]
build_lightcurves = "vasttools.bin.build_lightcurves:main"
Expand Down

0 comments on commit f84b1e6

Please sign in to comment.