Skip to content

switch from generating openapi client to pulling it in from branch #4

switch from generating openapi client to pulling it in from branch

switch from generating openapi client to pulling it in from branch #4

name: Client freeze test
on: push
jobs:
client-freeze-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: populationgenomics/metamist
ref: metamist-legacy-client/b142392
path: metamist-legacy-client
- name: "Copy python api files"
run: |
cp -R metamist-legacy-client/api/ metamist/api/
cp -R metamist-legacy-client/metamist/api/ metamist/api/
cp -R metamist-legacy-client/metamist/apis/ metamist/apis/
cp -R metamist-legacy-client/metamist/model/ metamist/model/
cp -R metamist-legacy-client/metamist/models/ metamist/models/
cp metamist-legacy-client/metamist/*.py metamist/
- name: "List"
run: |
ls -la metamist
ls -la metamist/api
ls -la metamist/apis
ls -la metamist/models
ls -la metamist/model