Use context managers to ensure the blob client is properly closed aft… #6
Workflow file for this run
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: Tests | |
on: [pull_request] | |
permissions: | |
packages: write | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/actions/checkout | |
- uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build containers | |
run: docker buildx bake --file docker-compose.yml --file docker-compose.cache.json | |
- name: Test | |
run: docker-compose run --rm plugfs pytest --cov --cov-fail-under=95 -v |