Skip to content

Commit

Permalink
test building from the tarball
Browse files Browse the repository at this point in the history
FUTURE_COPYBARA_INTEGRATE_REVIEW=#1073 from anthrotype:py-long-description 4541387
PiperOrigin-RevId: 563749441
  • Loading branch information
eustas authored and Copybara-Service committed Sep 8, 2023
1 parent 2ce8566 commit cb5a5c6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -357,3 +357,28 @@ jobs:
python -VV
python -c "import sys; sys.exit('Invalid python version') if '.'.join(map(str,sys.version_info[0:2])) != '${{ matrix.python_version }}' else True"
python setup.py ${{ matrix.py_setuptools_cmd || 'test'}}
archive_build:
name: Build and test from archive
runs-on: 'ubuntu-latest'
defaults:
run:
shell: bash
steps:

- name: Checkout the source
uses: actions/checkout@v3
with:
submodules: false
fetch-depth: 1

- name: Archive
run: |
git archive HEAD -o archive.tgz
- name: Extract
run: |
mkdir archive
cd archive
tar xvzf ../archive.tgz
ls

0 comments on commit cb5a5c6

Please sign in to comment.