Fetch tags in CI #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu Tests | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
# This allows a subsequently queued workflow run to interrupt previous runs. | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
ubuntu_ci: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checking out | |
uses: actions/checkout@v3 | |
with: | |
fetch-tags: True | |
fetch-depth: 0 | |
- name: Building image | |
run: docker build -t hhvm-test -f ci/Dockerfile . | |
- name: Running tests | |
run: docker run -v .:/source -w /source hhvm-test:latest ci/run_tests.sh |