diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index faffdd0..dc3088a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ jobs: publish-docker-image: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: build and publish docker image run: | echo "${{ secrets.DOCKER_HUB_TOKEN }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin docker.io diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 0629a34..8991400 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -3,17 +3,13 @@ name: CI on: pull_request: branches: [ master ] - workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: build - run: make build - - - name: test examples - run: | + - uses: actions/checkout@v3 + - run: make build + - run: | make test make test -e PYTEST_OPTS='--workers auto'