Skip to content

Commit

Permalink
Test for regression for issue that was just fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
drewcassidy committed Sep 9, 2024
1 parent aee4f05 commit dd708b8
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ jobs:
with:
changelog-path: 'tests/Test-Changelog.md'

- name: Get Changelog Information (Unreleased)
uses: ./
id: yaclog-show-unreleased
with:
changelog-path: 'tests/Test-Changelog-Unreleased.md'

- name: Copy Body File
run:
cp ${{ steps.yaclog-show.outputs.body-file }} body.md
Expand All @@ -62,12 +68,14 @@ jobs:
steps.yaclog-show.outputs.name == '0.13.0 "Aquarius"' &&
steps.yaclog-show.outputs.header == '## 0.13.0 "Aquarius" - 1970-04-11 [YANKED]' &&
steps.yaclog-show.outputs.version == '0.13.0' &&
steps.yaclog-show-unreleased.outputs.version == '0.13.1' &&
endsWith(steps.yaclog-show.outputs.changelog, 'tests/Test-Changelog.md') &&
hashFiles('body.md') == 'ad49b5c946b7d361db1c3dacc73de4f6222cca6272aab426786de168eede702b'
)
run: |
echo "Action self-test failed!"
echo "${{ toJSON(steps.yaclog-show.outputs) }}"
echo "yaclog-show:\n ${{ toJSON(steps.yaclog-show.outputs) }}"
echo "yaclog-show-unreleased:\n${{ toJSON(steps.yaclog-show.outputs) }}"
echo "${{ hashFiles('body.md') }}"
false
Expand Down
49 changes: 49 additions & 0 deletions tests/Test-Changelog-Unreleased.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Changelog

All notable changes to this project will be documented in this file.

## Unreleased

### Fixed

- Redesigned oxygen tanks


## 0.13.0 "Aquarius" - 1970-04-11 [YANKED]

Yanked due to issues with oxygen tanks, currently investigating

### Added

- Extra propellant in preparation for future versions

### Changed

- Replaced Ken Mattingly
- Stirred oxygen tanks


## 0.12.0 "Intrepid" - 1969-11-14

### Added

- New ALSEP package for surface science
- Color cameras
- Surface rendezvous with Surveyor 3

### Fixed

- 1201/1202 alarm distracting crew during landing

### Known Issues

- Lightning strike during launch: No effect on performance


## 0.11.0 "Eagle" - 1969-07-20

Initial stable release

### Changed

- Fully fueled lander to allow landing on the lunar surface

0 comments on commit dd708b8

Please sign in to comment.