Skip to content

Commit

Permalink
Try deleting arhcive tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Oct 18, 2024
1 parent ee06768 commit ee075ec
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,42 +94,6 @@ jobs:
file: coverage.xml
github-token: ${{ secrets.github_token }}

archive-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: set up python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: install depencies
run: pip install setuptools-scm
- name: Get Base Version
id: get_version
run: |
python -m setuptools_scm
echo "old_version=`python -m setuptools_scm`" >> $GITHUB_OUTPUT
- name: Git archive
run: git archive ${GITHUB_SHA} -o montepy.tar.gz
- name: delete git tree
run: rm -rf .git montepy
- name: open tar ball
run: tar xzf montepy.tar.gz
- run: |
cat .git_archival.txt
- name: Get version from archive
id: get_new_version
run: |
python -m setuptools_scm
echo "new_version=`python -m setuptools_scm`" >> $GITHUB_OUTPUT
- name: Check match
if: (steps.get_version.output.old_version != steps.get_new_version.output.new_version)
run: |
echo "Versions didn't match"
exit 1



Expand Down

0 comments on commit ee075ec

Please sign in to comment.