feat: Expand the Tomgram importer hash function to include processing software #294
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: APIv2 tests | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "apiv2/**" | |
pull_request: | |
paths: | |
- "apiv2/**" | |
jobs: | |
py-test: | |
runs-on: [ARM64, self-hosted, Linux] | |
name: "Run tests" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install AWS CLI v2 | |
shell: bash | |
run: | | |
set -ue | |
set -o pipefail | |
URL="https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" | |
curl $URL -o /tmp/awscliv2.zip -v | |
unzip -q /tmp/awscliv2.zip -d /tmp | |
rm /tmp/awscliv2.zip | |
sudo /tmp/aws/install --update | |
rm -rf /tmp/aws/ | |
# Set up a local test env and run tests | |
- name: Run tests | |
run: | | |
make apiv2-init | |
make apiv2-test |