mirror of
https://github.com/drewcassidy/yaclog.git
synced 2024-09-01 14:58:58 +00:00
action self-test
This commit is contained in:
parent
aad894fa08
commit
a6259aa1b3
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
@ -40,9 +40,34 @@ jobs:
|
||||
- name: Run Unit Tests
|
||||
run: python -m unittest -v
|
||||
|
||||
test-action:
|
||||
name: Test Github Action
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Get Changelog Information
|
||||
uses: ./
|
||||
id: yaclog-show
|
||||
with:
|
||||
changelog-path: 'tests/Test-Changelog.md'
|
||||
|
||||
- name: Fail Outputs
|
||||
if: >
|
||||
!(
|
||||
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' &&
|
||||
endsWith(steps.yaclog-show.outputs.changelog, 'tests/Test-Changelog.md') &&
|
||||
hashFiles(steps.yaclog-show.outputs.body-file) == '33b42eab899b0ff3b0e2a0647718cf9bf748af40e5e9a7c6af3642b35001223a'
|
||||
)
|
||||
run: 'false' # fail the run
|
||||
|
||||
build:
|
||||
name: Build Distribution
|
||||
needs: test
|
||||
needs:
|
||||
- test
|
||||
- test-action
|
||||
runs-on: ubuntu-22.04
|
||||
outputs:
|
||||
body-file: ${{ steps.yaclog-show.outputs.body-file }}
|
||||
|
40
tests/Test-Changelog.md
Normal file
40
tests/Test-Changelog.md
Normal file
@ -0,0 +1,40 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## 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
|
Loading…
Reference in New Issue
Block a user