Refactor TestMissingObjects #447
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: go test | |
permissions: | |
contents: read | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21" | |
- name: Install git. | |
run: | | |
sudo apt-get install -y libcurl4-openssl-dev | |
git clone https://github.com/git/git.git | |
git -C git checkout next | |
sudo make -j 16 -C git prefix=/usr NO_GETTEXT=YesPlease all install | |
- name: Vendor modules for later steps. | |
run: | | |
go mod vendor | |
- name: go unit test | |
run: make test | |
- name: go integration test | |
run: make test-integration | |