Skip to content

Commit

Permalink
Try to extract file outside of workdir
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Jul 12, 2024
1 parent a9f36d0 commit fb0809d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:
with:
fetch-depth: 0
lfs: false

- name: Install MDBTools OS dependency
run: |
sudo apt install -y mdbtools tree

# Due to limited LFS bandwidth, it is preferable to download
# test files from the last release.
Expand All @@ -47,18 +43,21 @@ jobs:
latest: true
tarBall: true
zipBall: false
out-file-path: ${{ GITHUB_WORKSPACE }}/last-release
out-file-path: /home/runner/work/last-release
extract: true

- name: Copy test files from static downloaded release
run: |
tree
cp -r ${{ GITHUB_WORKSPACE }}/last-release/*/tests/testdata tests
cp -r /home/runner/work/last-release/*/tests/testdata tests
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install MDBTools OS dependency
run: |
sudo apt install -y mdbtools
# tox-gh workflow following instructions at https://github.com/tox-dev/tox-gh
- name: Install tox
run: python -m pip install tox-gh
Expand Down

0 comments on commit fb0809d

Please sign in to comment.