Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
crosenth committed Jul 24, 2024
1 parent ab27bbe commit 20ecd25
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,34 @@ jobs:
-
name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
-
name: Checkout

- name: Checkout
uses: actions/checkout@v4
-
name: Set up Docker Buildx

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to GitHub Container Registry

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push

- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
-
name: Run tests

- name: Install package and dependencies
run: |
python -m pip install --upgrade pip wheel
python -m pip install .
- name: Run tests
run: python -m unittest discover
-
name: Build and push

- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
deploy:
needs: [unittests]
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down

0 comments on commit 20ecd25

Please sign in to comment.